},
teardown: function () {
$.fn.updateTooltipAccessKeys.setTestMode( false );
+ },
+ messages: {
+ // Used by accessKeyLabel in test for addPortletLink
+ 'brackets': '[$1]',
+ 'word-separator': ' '
}
} ) );
} );
QUnit.test( 'jsMessage', 1, function ( assert ) {
+ this.suppressWarnings();
var a = mw.util.jsMessage( 'MediaWiki is <b>Awesome</b>.' );
+ this.restoreWarnings();
assert.ok( a, 'Basic checking of return value' );
// Clean up