aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-10-15 12:31:27 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-10-15 12:31:27 -0400
commit611d7660cd23747bcc7948ad2ee2a663e00ff105 (patch)
tree847c6f4b25e12c4dfdb83b2a5fc68e3f2f7895ce /test/data
parent0c447434963bbdd6c631acfc38e51022db949a8b (diff)
downloadjquery-611d7660cd23747bcc7948ad2ee2a663e00ff105.tar.gz
jquery-611d7660cd23747bcc7948ad2ee2a663e00ff105.zip
Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/testrunner.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/data/testrunner.js b/test/data/testrunner.js
index 2a4cbf4e6..ef3a55568 100644
--- a/test/data/testrunner.js
+++ b/test/data/testrunner.js
@@ -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.
*/