mediawiki-skins-Vector/tests/jest
Steph Toyofuku 84be3de748 Minor fixes to gadget disable logic
Two small changes per comments on
https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/1036766:
* remove both night mode classes in a single function call
* slightly rework alterDisableLink logic to account for the possibility
that the message is empty when we check it

Bug: T365083
Change-Id: I1633df85e768b7da2f1f542fb793089f34bcc6b7
2024-05-30 16:48:55 -07:00
..
__mocks__ Limited width toggle 2022-11-01 16:29:43 +00:00
__snapshots__ Merge "remove redundant HTML roles" 2024-05-29 21:06:23 +00:00
skins.vector.es6 Remove config and AB test code for edit buttons in sticky header 2023-06-01 18:00:07 +01:00
skins.vector.js Minor fixes to gadget disable logic 2024-05-30 16:48:55 -07:00
skins.vector.legacy.js remove redundant HTML roles 2024-05-29 15:25:33 -05:00
AB.test.js Run A/B test enrollment code for any A/B test 2023-05-11 14:36:42 -07:00
App.test.js build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0 2024-01-11 14:19:57 -05:00
deferUntilFrame.test.js Merge skins.vector.es6 into skins.vector.js 2023-04-11 23:18:46 +00:00
fetch.test.js Eslint: Modernize tests for ES6 2023-04-11 23:18:38 +00:00
instrumentation.test.js build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0 2024-01-11 14:19:57 -05:00
pinnableElement.test.js build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0 2024-01-11 14:19:57 -05:00
popupNotification.test.js Fix linter warnings 2024-01-29 17:06:53 +00:00
restSearchClient.test.js Eslint: Modernize tests for ES6 2023-04-11 23:18:38 +00:00
skins.vector.clientPreferences.test.js Client preferences supports toggle switches 2024-01-19 12:56:27 -08:00
stickyHeader.test.js Remove references to heading in dropdown PHP 2023-06-26 12:49:00 -05:00
tableOfContents.test.js build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0 2024-01-11 14:19:57 -05:00
urlGenerator.test.js build: Upgrade eslint-config-wikimedia from 0.25.1 to 0.26.0 2024-01-11 14:19:57 -05:00
userLinks.test.js Add snapshot class to sticky header tests 2022-05-12 10:51:43 -05:00
userLinksData.js Update theme icon for client preferences in user links 2023-11-24 15:01:35 +00:00