From eb0a2db04beda089e6bdcb2820f193ed2faecbc3 Mon Sep 17 00:00:00 2001 From: Noritaka Kobayashi Date: Mon, 2 Jun 2025 01:28:07 +0900 Subject: [PATCH] chore: fix typos in test (#6923) Co-authored-by: Jay --- test/module/typings/esm/index.ts | 2 +- test/specs/defaults.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/module/typings/esm/index.ts b/test/module/typings/esm/index.ts index 088dacfd..0c5196af 100644 --- a/test/module/typings/esm/index.ts +++ b/test/module/typings/esm/index.ts @@ -627,7 +627,7 @@ for (const [header, value] of headers) { headers.get('x'); })(); -// AxiosHeaders instance assigment +// AxiosHeaders instance assignment { const requestInterceptorId: number = axios.interceptors.request.use( diff --git a/test/specs/defaults.spec.js b/test/specs/defaults.spec.js index 1c5abf37..7b649bbd 100644 --- a/test/specs/defaults.spec.js +++ b/test/specs/defaults.spec.js @@ -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 start = performance.now(); const slashes = '/'.repeat(100000);