mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Expand the excuse window of load errors to 3 seconds or more.
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
if (ui.isSauceLabs) {
|
||||
window.onerror = function() {
|
||||
var loadEventEnd = ui.timing.loadEventEnd;
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 5000)) {
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 3000)) {
|
||||
QUnit.config.done.length = 0;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -189,7 +189,7 @@
|
||||
if (ui.isSauceLabs) {
|
||||
window.onerror = function() {
|
||||
var loadEventEnd = ui.timing.loadEventEnd;
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 5000)) {
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 3000)) {
|
||||
QUnit.config.done.length = 0;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
if (ui.isSauceLabs) {
|
||||
window.onerror = function() {
|
||||
var loadEventEnd = ui.timing.loadEventEnd;
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 5000)) {
|
||||
if (loadEventEnd && (new Date - loadEventEnd > 3000)) {
|
||||
QUnit.config.done.length = 0;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user