mediawiki-extensions-Visual.../modules/ve-mw
Timo Tijhof d8a532c87e tests: Remove QUnit.newMwEnvironment from ve.test.utils.mwEnvironment
Two problems:
* At least one caller already calls QUnit.newMwEnvironment(), which means
  it runs twice which is unsupported and breaks If4141df10eae55 in core.
* It assumes the return will contain 'setup' and 'teardown', which
  is internal and also changes with If4141df10eae55 in core.

Using 'setup' and 'teardown' for this within VE-MW is fine.

First attempt is to simply remove it. Uses that already called
QUnit.newMwEnvironment are effectively unchanged. Uses that didn't
and only pass ve.test.utils.mwEnvironment to QUnit.module directly
will now run without core's QUnit.newMwEnvironment() setup/teardown.

If that breaks anything, we can add it back to those tests that actually
need it.

Change-Id: I9ef0368ba58daf1c7dc92d083ae79c108cc27638
2017-07-20 00:15:51 +00:00
..
ce Merge "Drop local 'template' icon, use 'puzzle' from upstream" 2017-07-17 15:09:28 +00:00
dm build: Upgrade grunt-eslint from 19.0.0 to 20.0.0 2017-07-18 12:55:33 +01:00
i18n Localisation updates from https://translatewiki.net. 2017-07-19 23:00:11 +02:00
init LinkCache: parsoid element styling, detect selflink fragments 2017-07-19 11:54:00 -05:00
tests tests: Remove QUnit.newMwEnvironment from ve.test.utils.mwEnvironment 2017-07-20 00:15:51 +00:00
themes Update VE core submodule to master (8be817396) 2017-05-31 17:48:45 -07:00
ui build: Upgrade grunt-eslint from 19.0.0 to 20.0.0 2017-07-18 12:55:33 +01:00
ve.MWutils.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00