mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:43:25 +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:
parent
ba11cf4767
commit
b8cf79895e
|
@ -202,6 +202,7 @@ export default function setupTests(config) {
|
|||
setupDeprecationCounter(QUnit);
|
||||
|
||||
QUnit.config.hidepassed = true;
|
||||
QUnit.config.testTimeout = 60_000;
|
||||
|
||||
sinon.config = {
|
||||
injectIntoThis: false,
|
||||
|
|
|
@ -213,8 +213,6 @@ function logQUnit() {
|
|||
|
||||
console.log("\nRunning: " + JSON.stringify(QUnit.urlParams) + "\n");
|
||||
|
||||
QUnit.config.testTimeout = 10000;
|
||||
|
||||
let durations = {};
|
||||
|
||||
let inTest = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user