mediawiki-skins-Vector/tests/jest
Jan Drewniak e4af2b5df3 Prevent addPortletLinkHandler from looping over links twice
- Prevents the addPortletLinkHandler function from looping
over the same links multiple times by indexing
the HTMLElement instead of just the ID, which is an
optional parameter.
- Conditionally adds the icon class if the ID parameter
exists.
- Refactors the function to calculate the width of the
vector toolbar.
- Adds Jest tests to account for the dual icon scenario
and updates existing Jest tests.

Bug: T327369
Change-Id: I2a0934405efebd0e95919bc523d711866236a7e6
2023-02-16 20:05:54 +00:00
..
__mocks__
__snapshots__ Update user links dropdown id 2023-02-16 11:21:56 -06:00
skins.vector.es6 Additional FIXME cleanup relating to moving feature classes from body 2023-02-08 10:49:13 -06:00
skins.vector.js Prevent addPortletLinkHandler from looping over links twice 2023-02-16 20:05:54 +00:00
AB.test.js
App.test.js
deferUntilFrame.test.js
fetch.test.js
instrumentation.test.js
pinnableElement.test.js Add setFocusToToggleButton function to pinnableElement.js 2023-02-01 14:31:53 -06:00
restSearchClient.test.js
stickyHeader.test.js Update user links dropdown id 2023-02-16 11:21:56 -06:00
tableOfContents.test.js Update tableOfContents.js to rerender only the TOC contents rather than the entire pinnable element 2023-01-16 12:39:05 +01:00
urlGenerator.test.js
userLinks.test.js
userLinksData.js Update user links dropdown id 2023-02-16 11:21:56 -06:00