-( function ( $, mw ) {
+( function () {
var simpleSample, U_20AC, poop, mbSample,
trimByteLength = require( 'mediawiki.String' ).trimByteLength;
QUnit.test( opt.description, function ( assert ) {
var res = trimByteLength( opt.initial, opt.sample, opt.limit, opt.fn );
- assert.equal(
+ assert.strictEqual(
res.newVal,
opt.expected,
'New value matches the expected string'
expected: '\uD800'
} );
-}( jQuery, mediaWiki ) );
+}() );