qunit: Don't require expect() anymore
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 4 Mar 2016 02:29:55 +0000 (02:29 +0000)
committerKrinkle <krinklemail@gmail.com>
Fri, 4 Mar 2016 23:50:04 +0000 (23:50 +0000)
This hasn't been useful in QUnit for a while now with the improved
assertion context object and tracking of asynchronous tests without
shared global state.

Change-Id: Icaf865b4d6e85e739bf79c4d1bacb8a71ec5a3da

tests/qunit/data/testrunner.js

index 07e6f26..1091d09 100644 (file)
@@ -26,8 +26,6 @@
        // killing the test and assuming timeout failure.
        QUnit.config.testTimeout = 60 * 1000;
 
-       QUnit.config.requireExpects = true;
-
        // Add a checkbox to QUnit header to toggle MediaWiki ResourceLoader debug mode.
        QUnit.config.urlConfig.push( {
                id: 'debug',