mediawiki-skins-Vector/tests/jest
Lucas Werkmeister 86c9693693 search: Reduce skins.vector.search module size
Change I765d3bbf89 pushes the module over the configured maximum allowed
size (3 KiB, see bundlesize.config.json); shave off some bytes elsewhere
to bring it below the limit again. IMHO all of these changes should be
acceptable:

* arrow functions are already used elsewhere in this module;
* using the mw.config.get() fallback argument is normal (it slightly
  changes behavior, but I don’t think explicitly setting the search
  client or URL generator to a falsy value and expecting to get the
  default behavior should be considered supported);
* not quoting [name="search"] matches [name=title] immediately above;
* using forEach() with a function reference is still readable (initApp()
  is now called with extra arguments, but that doesn’t matter).

Change-Id: I45dda26cb59279d91804b0c2bbf12174fa78ee12
2022-09-30 19:05:03 +02:00
..
__mocks__ Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
__snapshots__ Modify Vector 2022 skip-links 2022-09-26 17:34:23 +00: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
dropdownMenu.test.js Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
fetch.test.js
instrumentation.test.js search: Add some tests for instrumentation.js 2022-09-30 19:05:03 +02:00
restSearchClient.test.js search: Reduce skins.vector.search module size 2022-09-30 19:05:03 +02:00
stickyHeader.test.js Create new sticky toc container 2022-08-31 21:27:06 +00:00
tableOfContents.test.js Style active top level section differently than ordinary active TOC sections 2022-09-20 16:57:53 -05: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