2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-14 18:42:33 +03:00

chore: fix typos in test (#6923)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Noritaka Kobayashi
2025-06-02 01:28:07 +09:00
committed by GitHub
parent 7d551393c3
commit eb0a2db04b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -627,7 +627,7 @@ for (const [header, value] of headers) {
headers.get('x'); headers.get('x');
})(); })();
// AxiosHeaders instance assigment // AxiosHeaders instance assignment
{ {
const requestInterceptorId: number = axios.interceptors.request.use( const requestInterceptorId: number = axios.interceptors.request.use(
+1 -1
View File
@@ -186,7 +186,7 @@ describe('defaults', function () {
}); });
}); });
it('should resistent to ReDoS attack', function (done) { it('should resistant to ReDoS attack', function (done) {
const instance = axios.create(); const instance = axios.create();
const start = performance.now(); const start = performance.now();
const slashes = '/'.repeat(100000); const slashes = '/'.repeat(100000);