gitea/web_src/js
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>
2022-10-14 21:36:16 +08:00
..
components Update JS dependencies and eslint config (#21388) 2022-10-10 20:02:20 +08:00
features Remove useless `appVer` from JS `window.config` (#21445) 2022-10-14 01:16:27 +08:00
markup Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
modules Improve commit status icons (#21124) 2022-09-09 17:03:18 -04:00
standalone
test Switch from jest to vitest (#21444) 2022-10-14 21:36:16 +08:00
bootstrap.js Bypass Firefox (iOS) bug (#20244) 2022-07-05 13:27:13 +01:00
index.js Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
jquery.js
serviceworker.js
svg.js Refactor from Vue2 to Vue3 (#20044) 2022-10-01 22:26:38 +08:00
svg.test.js Switch from jest to vitest (#21444) 2022-10-14 21:36:16 +08:00
utils.js Use weighted algorithm for string matching when finding files in repo (#21370) 2022-10-08 12:22:44 +01:00
utils.test.js Switch from jest to vitest (#21444) 2022-10-14 21:36:16 +08:00