mirror of
https://github.com/axios/axios.git
synced 2026-04-14 15:21:58 +08:00
chore: fix typos in test (#6923)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
parent
7d551393c3
commit
eb0a2db04b
@ -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(
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user