mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-28 01:50:09 +00:00
1260d98c78
This makes the test report inaccessible in the browser. I'm adding it at the module level given that nearly all test cases in this file trigger it: * "Progress" * "Progress when switching images" * "New image loaded while another one is loading" * "Events are not trapped after the viewer is closed" * "document.title" ``` - QUnit.module( 'mmv', QUnit.newMwEnvironment() ); + QUnit.module( 'mmv', QUnit.newMwEnvironment( { + beforeEach: function () { + this.sandbox.stub( require( 'mediawiki.router' ), 'back', function () { + console.log( QUnit.config.current.testName ); + console.trace(); + } ); + } + } ) ); ``` Change-Id: I0cb7ed6c76d5547bcef9c183c9305b6fd08ec9eb |
||
---|---|---|
.. | ||
mmv | ||
.eslintrc.json |