mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Punt on AMD testing for Android because of stability issues.
This commit is contained in:
@@ -73,15 +73,6 @@
|
||||
mixinPrereqs(_);
|
||||
return;
|
||||
}
|
||||
// avoid reporting tests to Sauce Labs when script load errors occur
|
||||
if (ui.isSauceLabs) {
|
||||
window.onerror = function() {
|
||||
var loadEventEnd = ui.timing.loadEventEnd;
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 3000)) {
|
||||
QUnit.config.done.length = 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reBasename = /[\w.-]+$/,
|
||||
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
||||
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
||||
|
||||
@@ -185,15 +185,6 @@
|
||||
if (ui.isForeign || !window.require) {
|
||||
return;
|
||||
}
|
||||
// avoid reporting tests to Sauce Labs when script load errors occur
|
||||
if (ui.isSauceLabs) {
|
||||
window.onerror = function() {
|
||||
var loadEventEnd = ui.timing.loadEventEnd;
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 3000)) {
|
||||
QUnit.config.done.length = 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reBasename = /[\w.-]+$/,
|
||||
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
||||
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
||||
|
||||
@@ -135,8 +135,9 @@ if (_.contains(tags, 'amd')) {
|
||||
var browser = browserName(platform[1]),
|
||||
version = +platform[2];
|
||||
|
||||
if (browser == 'Opera') {
|
||||
return version >= 10;
|
||||
switch (browser) {
|
||||
case 'Android': return version >= 4.4;
|
||||
case 'Opera': return version >= 10;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
||||
@@ -183,15 +183,6 @@
|
||||
if (!window.require) {
|
||||
return;
|
||||
}
|
||||
// avoid reporting tests to Sauce Labs when script load errors occur
|
||||
if (ui.isSauceLabs) {
|
||||
window.onerror = function() {
|
||||
var loadEventEnd = ui.timing.loadEventEnd;
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 3000)) {
|
||||
QUnit.config.done.length = 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
var reBasename = /[\w.-]+$/,
|
||||
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
||||
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
||||
|
||||
Reference in New Issue
Block a user