mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-13 16:38:44 +00:00
f14b4fe5f1
Adds tests for the addPortletLinkHandler, which should add an icon element to items added via 'mw.util.addPortletLink' and conditionally move elements from the toolbar into the more menu at narrow widths. - Adds tests for dropdownMenu.js - Adds associated Jest snapshots - Stubs the mediawiki.page.ready module - Updates mockMediawiki.js to 4.6.0 - Adds global mock for mw.util.showPortlet() - Cleans up tests using local versions of these mocks Bug: T314798 Change-Id: I81394d840321916756a41a23c40d96c4b6341931 |
||
---|---|---|
.. | ||
__mocks__ | ||
__snapshots__ | ||
skins.vector.es6 | ||
AB.test.js | ||
App.test.js | ||
deferUntilFrame.test.js | ||
dropdownMenu.test.js | ||
fetch.test.js | ||
restSearchClient.test.js | ||
stickyHeader.test.js | ||
tableOfContents.test.js | ||
userLinks.test.js | ||
userLinksData.js |