-( function ( mw ) {
+( function () {
QUnit.module( 'mediawiki.template.mustache', {
- setup: function () {
+ beforeEach: function () {
// Stub register some templates
this.sandbox.stub( mw.templates, 'get' ).returns( {
'test_greeting.mustache': '<div>{{foo}}{{>suffix}}</div>',
assert.strictEqual( htmlPartial, 'Hello goodbye', 'Render with partial' );
} );
-}( mediaWiki ) );
+}() );