You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
silverwind c3098076b5
Switch from jest to vitest (#21444)
Even if we are not bundling with `vite` yet, we can use `vitest` in
place of Jest which brings a few benefits like not requiring to use
`NODE_OPTIONS` to run and having sane module resolution.

It's possible to also use `jest-extended` with vitest, but I opted to
not do so for now because it brings heavyweight dependencies and it was
trivial to just rewrite the affected matchers to be compatible.

This PR also removes 153 JS dependencies, which is certainly nice.

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
components Update JS dependencies and eslint config (#21388) 2 years ago
features Remove useless `appVer` from JS `window.config` (#21445) 2 years ago
markup Add KaTeX rendering to Markdown. (#20571) 2 years ago
modules Improve commit status icons (#21124) 2 years ago
standalone Add new JS linter rules (#17699) 3 years ago
test Switch from jest to vitest (#21444) 2 years ago
bootstrap.js Bypass Firefox (iOS) bug (#20244) 2 years ago
index.js Add filetree on left of diff view (#21012) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 4 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 4 years ago
svg.js Refactor from Vue2 to Vue3 (#20044) 2 years ago
svg.test.js Switch from jest to vitest (#21444) 2 years ago
utils.js Use weighted algorithm for string matching when finding files in repo (#21370) 2 years ago
utils.test.js Switch from jest to vitest (#21444) 2 years ago