mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Fixes failing tests for the IE8/IE9 capitalized verb bug.
This commit is contained in:
@@ -63,7 +63,7 @@ describe('interceptors', function () {
|
|||||||
responseText: 'OK'
|
responseText: 'OK'
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(request.method).toBe('post');
|
expect(request.method).toBe('POST');
|
||||||
expect(request.url).toBe('/bar');
|
expect(request.url).toBe('/bar');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ describe('options', function () {
|
|||||||
}, 'waiting for the request', 100);
|
}, 'waiting for the request', 100);
|
||||||
|
|
||||||
runs(function () {
|
runs(function () {
|
||||||
expect(request.method).toBe('get');
|
expect(request.method).toBe('GET');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user