2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00

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

@ -213,8 +213,6 @@ function logQUnit() {

console.log("\nRunning: " + JSON.stringify(QUnit.urlParams) + "\n");

QUnit.config.testTimeout = 10000;

let durations = {};

let inTest = false;