DEV: Set QUnit per-test timeout (#21102)

60s is a lot, and I'd prefer 15s, but the first test in a suite can take up to 40s. 60s is still better than `Infinity` 😌
This commit is contained in:
Jarek Radosz 2023-04-15 14:34:13 +02:00 committed by GitHub
parent ba11cf4767
commit b8cf79895e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -202,6 +202,7 @@ export default function setupTests(config) {
setupDeprecationCounter(QUnit);
QUnit.config.hidepassed = true;
QUnit.config.testTimeout = 60_000;
sinon.config = {
injectIntoThis: false,

View File

@ -213,8 +213,6 @@ function logQUnit() {
console.log("\nRunning: " + JSON.stringify(QUnit.urlParams) + "\n");
QUnit.config.testTimeout = 10000;
let durations = {};
let inTest = false;