mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Simplify "testTimeout" option
This commit is contained in:
parent
270a1ebd8d
commit
d5399193d4
@ -21,7 +21,7 @@ var qunitModule = QUnit.module,
|
|||||||
|
|
||||||
// Max time for stop() and asyncTest() until it aborts test
|
// Max time for stop() and asyncTest() until it aborts test
|
||||||
// and start()'s the next test.
|
// and start()'s the next test.
|
||||||
QUnit.config.testTimeout = 20 * 1000; // 20 seconds
|
QUnit.config.testTimeout = 2e4; // 20 seconds
|
||||||
|
|
||||||
// Enforce an "expect" argument or expect() call in all test bodies.
|
// Enforce an "expect" argument or expect() call in all test bodies.
|
||||||
QUnit.config.requireExpects = true;
|
QUnit.config.requireExpects = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user