mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Run ALL the tests 😸
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ module.exports = function(config) {
|
|||||||
if (runAll || process.env.SAUCE_IE) {
|
if (runAll || process.env.SAUCE_IE) {
|
||||||
// TODO These need to be fixed
|
// TODO These need to be fixed
|
||||||
// customLaunchers.SL_IE8 = createCustomLauncher('internet explorer', 8, 'Windows 7');
|
// customLaunchers.SL_IE8 = createCustomLauncher('internet explorer', 8, 'Windows 7');
|
||||||
customLaunchers.SL_IE9 = createCustomLauncher('internet explorer', 9, 'Windows 2008');
|
// customLaunchers.SL_IE9 = createCustomLauncher('internet explorer', 9, 'Windows 2008');
|
||||||
customLaunchers.SL_IE10 = createCustomLauncher('internet explorer', 10, 'Windows 2012');
|
customLaunchers.SL_IE10 = createCustomLauncher('internet explorer', 10, 'Windows 2012');
|
||||||
customLaunchers.SL_IE11 = createCustomLauncher('internet explorer', 11, 'Windows 8.1');
|
customLaunchers.SL_IE11 = createCustomLauncher('internet explorer', 11, 'Windows 8.1');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ describe('interceptors', function () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
fit('should add a request interceptor that returns a promise', function (done) {
|
it('should add a request interceptor that returns a promise', function (done) {
|
||||||
axios.interceptors.request.use(function (config) {
|
axios.interceptors.request.use(function (config) {
|
||||||
return new Promise(function (resolve) {
|
return new Promise(function (resolve) {
|
||||||
// do something async
|
// do something async
|
||||||
|
|||||||
Reference in New Issue
Block a user