mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
FIX: Async test runner check-timeout bumped. (#4751)
This commit is contained in:

committed by
GitHub

parent
3a16e72ebf
commit
ab42715089
@ -128,7 +128,7 @@ function runAsync(testInfo: TestInfoEntry, recursiveIndex: number, testTimeout?:
|
||||
testInfo.errorMessage = "Test timeout.";
|
||||
runTests(testsQueue, recursiveIndex + 1);
|
||||
} else {
|
||||
setTimeout(checkFinished, 0);
|
||||
setTimeout(checkFinished, 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -144,7 +144,7 @@ function runAsync(testInfo: TestInfoEntry, recursiveIndex: number, testTimeout?:
|
||||
doneCallback(e);
|
||||
}
|
||||
|
||||
setTimeout(checkFinished, 0);
|
||||
setTimeout(checkFinished, 20);
|
||||
}
|
||||
|
||||
export function runTests(tests: Array<TestInfoEntry>, recursiveIndex) {
|
||||
|
Reference in New Issue
Block a user