wiki.techinc.nl/tests/qunit/data
Timo Tijhof 765ce140f5 qunit: Remove redundant QUnit.newMwEnvironment() from testrunner.js
The "testrunner-next" test suite is an internal meta test to confirm
that `QUnit.newMwEnvironment` works correctly. The main part of this
test is in the `QUnit.module( 'testrunner' )` test suite right above
this one.

The "testrunner-next" suite exists to confirm that the env's afterEach
correctly tears down the environment to then leave clean for the next
test.

It is both redundant and actually counter-productive to define this
next test test using `newMwEnvironment`, because it means that
we're not actually testing the state after teardown. Rather, we tested
state after both the afterEach teardown *and* another beforeEach setup.

See also <https://gerrit.wikimedia.org/r/c/mediawiki/core/+/912936>

Change-Id: I54ca8674e7fb0233d2c51a823f0cb0cc9c3d54f8
2023-05-17 21:39:05 +01:00
..
.eslintrc.json
defineCallMwLoaderTestCallback.js
generateJqueryMsgData.php ResourceLoader: Allow FileModule scripts to be generated with a callback 2023-05-09 11:47:40 +10:00
load.mock.php
mediawiki.jqueryMsg.data.json
mediawiki.jqueryMsg.testdata.js
mediawiki.loader.getScript.example.js
mwLoaderTestCallback.js
requireCallMwLoaderTestCallback.js
sinonjs-local.js
styleTest.css.php tests: Fix missing "wf" prefix for global functions 2022-11-28 07:28:55 -05:00
testrunner.js qunit: Remove redundant QUnit.newMwEnvironment() from testrunner.js 2023-05-17 21:39:05 +01:00