Skip to content

Commit

Permalink
base1: fix deprecated qunit long test without a timeout
Browse files Browse the repository at this point in the history
Since QUnit 2.21 a deprecation warning is shown when a test takes longer
then 3 seconds and has no timeout set.
  • Loading branch information
jelly authored and martinpitt committed Feb 4, 2025
1 parent 3525d23 commit c5fd9a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/base1/test-http.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ QUnit.test("parallel stress test", async assert => {
return;
}

assert.timeout(6000);

const num = 1000;
assert.expect(num + 1);

Expand Down

0 comments on commit c5fd9a0

Please sign in to comment.