mirror of
https://github.com/tenrok/axios.git
synced 2026-06-08 17:22:34 +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'
|
||||
});
|
||||
|
||||
expect(request.method).toBe('post');
|
||||
expect(request.method).toBe('POST');
|
||||
expect(request.url).toBe('/bar');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -21,7 +21,7 @@ describe('options', function () {
|
||||
}, 'waiting for the request', 100);
|
||||
|
||||
runs(function () {
|
||||
expect(request.method).toBe('get');
|
||||
expect(request.method).toBe('GET');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user