Remove unused test constant

Change-Id: I1ee23cd4f6ba5a6851d4717f303d2b880da338cd
This commit is contained in:
Ed Sanders 2020-06-09 11:29:34 +01:00
parent c7dbd173b3
commit a93b3c5185

View file

@ -5,12 +5,10 @@
* @license MIT
*/
window.MWWIKITEXT_MOCK_API = true;
QUnit.module( 've.ui.MWWikitextStringTransferHandler (Cite)', QUnit.newMwEnvironment( {
beforeEach: function () {
// Mock XHR for mw.Api()
this.server = window.MWWIKITEXT_MOCK_API ? this.sandbox.useFakeServer() : null;
this.server = this.sandbox.useFakeServer();
ve.test.utils.mwEnvironment.setup.call( this );
},
afterEach: ve.test.utils.mwEnvironment.teardown