mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations.
This commit is contained in:
@@ -156,6 +156,9 @@ function testSubproject( label, url, risTests ) {
|
||||
// and start()'s the next test.
|
||||
QUnit.config.testTimeout = 20 * 1000; // 20 seconds
|
||||
|
||||
// Enforce an "expect" argument or expect() call in all test bodies.
|
||||
QUnit.config.requireExpects = true;
|
||||
|
||||
/**
|
||||
* Load the TestSwarm listener if swarmURL is in the address.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user