mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Punt on AMD testing for Android because of stability issues.
This commit is contained in:
@@ -73,15 +73,6 @@
|
|||||||
mixinPrereqs(_);
|
mixinPrereqs(_);
|
||||||
return;
|
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.-]+$/,
|
var reBasename = /[\w.-]+$/,
|
||||||
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
||||||
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
||||||
|
|||||||
@@ -185,15 +185,6 @@
|
|||||||
if (ui.isForeign || !window.require) {
|
if (ui.isForeign || !window.require) {
|
||||||
return;
|
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.-]+$/,
|
var reBasename = /[\w.-]+$/,
|
||||||
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
||||||
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
||||||
|
|||||||
@@ -135,8 +135,9 @@ if (_.contains(tags, 'amd')) {
|
|||||||
var browser = browserName(platform[1]),
|
var browser = browserName(platform[1]),
|
||||||
version = +platform[2];
|
version = +platform[2];
|
||||||
|
|
||||||
if (browser == 'Opera') {
|
switch (browser) {
|
||||||
return version >= 10;
|
case 'Android': return version >= 4.4;
|
||||||
|
case 'Opera': return version >= 10;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -183,15 +183,6 @@
|
|||||||
if (!window.require) {
|
if (!window.require) {
|
||||||
return;
|
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.-]+$/,
|
var reBasename = /[\w.-]+$/,
|
||||||
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
|
||||||
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
||||||
|
|||||||
Reference in New Issue
Block a user