mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 17:10:19 +00:00
ecdf2ced2c
Bug: T333345 Change-Id: If65a86b2d6a8345f127a0803fd64cfa9f13a8630
10 lines
364 B
JavaScript
10 lines
364 B
JavaScript
/* global global */
|
|
const mockMediaWiki = require( '@wikimedia/mw-node-qunit/src/mockMediaWiki.js' );
|
|
global.mw = mockMediaWiki();
|
|
global.$ = require( 'jquery' );
|
|
global.mw.util.showPortlet = function () {};
|
|
global.mw.Api.prototype.saveOption = function () {};
|
|
global.OO = require( 'oojs' );
|
|
require( 'oojs-ui' );
|
|
require( 'oojs-ui/dist/oojs-ui-wikimediaui.js' );
|