-( function ( mw ) {
+( function () {
QUnit.module( 'mediawiki.inspect' );
);
return mw.loader.using( 'test.inspect.script' ).then( function () {
- assert.equal(
+ assert.strictEqual(
mw.inspect.getModuleSize( 'test.inspect.script' ),
// name, script function
43,
);
return mw.loader.using( 'test.inspect.both' ).then( function () {
- assert.equal(
+ assert.strictEqual(
mw.inspect.getModuleSize( 'test.inspect.both' ),
// name, script function, styles object
64,
);
return mw.loader.using( 'test.inspect.scriptmsg' ).then( function () {
- assert.equal(
+ assert.strictEqual(
mw.inspect.getModuleSize( 'test.inspect.scriptmsg' ),
// name, script function, empty styles object, messages object
74,
);
return mw.loader.using( 'test.inspect.all' ).then( function () {
- assert.equal(
+ assert.strictEqual(
mw.inspect.getModuleSize( 'test.inspect.all' ),
// name, script function, styles object, messages object, templates object
126,
);
} );
} );
-}( mediaWiki ) );
+}() );