mediawiki-skins-Vector/tests/jest
Jan Drewniak f14b4fe5f1 Add tests for dropdownMenu.js
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
2022-09-01 13:11:22 -07:00
..
__mocks__ Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
__snapshots__ Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
skins.vector.es6 Add collapsed TOC to sticky header by moving the TOC 2022-08-11 11:25:21 +00:00
AB.test.js Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
App.test.js Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
deferUntilFrame.test.js Fix TOC section activation on link click bug 2022-02-08 14:45:16 -07:00
dropdownMenu.test.js Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
fetch.test.js Add fetch tests from WVUI 2022-02-15 14:00:40 -06:00
restSearchClient.test.js Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
stickyHeader.test.js Create new sticky toc container 2022-08-31 21:27:06 +00:00
tableOfContents.test.js Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
userLinks.test.js Add snapshot class to sticky header tests 2022-05-12 10:51:43 -05:00
userLinksData.js Remove custom rendering of the user links overflow menu in favor of using 'vector-user-menu-overflow', a vector specific menu bucket in Hooks.php 2022-08-01 20:18:46 +00:00