mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 01:09:20 +00:00
1aec6764ad
Change-Id: I8b6938f2ac935724cf80e01096591e6a4c0cbbe0
11 lines
359 B
JavaScript
11 lines
359 B
JavaScript
'use strict';
|
|
|
|
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' );
|