2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-18 12:39:44 +03:00

Remove isOldIE check in tests

This commit is contained in:
Rikki Gibson
2018-07-28 10:54:51 -07:00
committed by Khaled Garbaya
parent a9831131c3
commit 962c38b2a6
-3
View File
@@ -11,9 +11,6 @@ axios = require('../../index');
jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
jasmine.getEnv().defaultTimeoutInterval = 20000;
// Is this an old version of IE that lacks standard objects like DataView, ArrayBuffer, FormData, etc.
isOldIE = /MSIE (8|9)\.0/.test(navigator.userAgent);
// Get Ajax request using an increasing timeout to retry
getAjaxRequest = (function () {
var attempts = 0;