Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations.

This commit is contained in:
Rick Waldron
2012-10-15 12:31:27 -04:00
parent 0c44743496
commit 611d7660cd
2 changed files with 5 additions and 2 deletions

View File

@@ -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.
*/