Change-Id: I64dcd0a97c94e0b3ba1d6e98d0514e31315a24b9
( function ( mw ) {
QUnit.module( 'mediawiki.api.parse', QUnit.newMwEnvironment( {
setup: function () {
- this.clock = this.sandbox.useFakeTimers();
this.server = this.sandbox.useFakeServer();
- },
- teardown: function () {
- this.clock.tick( 1 );
}
} ) );
( function ( mw ) {
QUnit.module( 'mediawiki.api', QUnit.newMwEnvironment( {
setup: function () {
- this.clock = this.sandbox.useFakeTimers();
this.server = this.sandbox.useFakeServer();
- },
- teardown: function () {
- this.clock.tick( 1 );
}
} ) );
( function ( mw ) {
QUnit.module( 'mediawiki.api.watch', QUnit.newMwEnvironment( {
setup: function () {
- this.clock = this.sandbox.useFakeTimers();
this.server = this.sandbox.useFakeServer();
- },
- teardown: function () {
- this.clock.tick( 1 );
}
} ) );