resourceloader: Avoid global window.mwTestFooJsCounter in unit tests
authorFomafix <fomafix@googlemail.com>
Sun, 24 Feb 2019 09:08:49 +0000 (10:08 +0100)
committerKrinkle <krinklemail@gmail.com>
Fri, 12 Apr 2019 15:25:58 +0000 (15:25 +0000)
commit53661b3d8373c984a0635697654e4843b59fc599
tree7dbc5426a7670e1dbc8a62cc762555f9cca00e7c
parent6497541c9c089966ce7d3b0e0abd6b68192d30d8
resourceloader: Avoid global window.mwTestFooJsCounter in unit tests

This change avoids a failure when running Special:JavaScriptTest with
the option noglobals.

Change-Id: Id61fca5ccedbd793f7786ad95681eaebb9feafb6
tests/qunit/suites/resources/mediawiki/mediawiki.loader.test.js