mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-25 13:32:53 +00:00
1ea31cc003
Changes: * Extract the various shapes of stub user object into the shared mw.popups.tests.stubs#createStubUser factory method. * Register the ext.popups.tests.stubs module in PopupsHooks#onResourceLoaderTestModules and make the test suite depend on it. Bug: T152225 Change-Id: I893b11461d8484bcaabfd950c2fa0dc672454a9d
10 lines
199 B
JavaScript
10 lines
199 B
JavaScript
( function ( mw ) {
|
|
|
|
// TODO: This namespace may have to be initialized elsewhere if, say, shared
|
|
// fixtures are extracted.
|
|
mw.popups.tests = {};
|
|
|
|
mw.popups.tests.stubs = {};
|
|
|
|
}( mediaWiki ) );
|