From 611d7660cd23747bcc7948ad2ee2a663e00ff105 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Mon, 15 Oct 2012 12:31:27 -0400 Subject: Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations. --- test/data/testrunner.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/data') 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. */ -- cgit v1.2.3