1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/web_src/js
silverwind f8060bb5d9
Switch to happy-dom for testing (#29948)
Use `happy-dom` again in vitest as it has caught up recently to `jsdom`
in terms of features and it is a much more lightweight solution.

I encountered [one
bug](https://github.com/capricorn86/happy-dom/issues/1342), but it's an
easy workaround until fixed.

I regenerated the lockfile to get rid of the transitive dependencies so
that's why the diff also has some upgrades in it.

In total, this change removes 39 npm dependencies.

(cherry picked from commit 82979588f4d8699097451ebb70c56a4bdd090c52)
2024-03-26 19:04:26 +01:00
..
components Migrate border and margin classes to Tailwind (#29828) 2024-03-26 19:04:25 +01:00
features Solving the issue of UI disruption when the review is deleted without refreshing (#29951) 2024-03-26 19:04:26 +01:00
markup Fix and rewrite markup anchor processing (#29931) 2024-03-26 19:04:26 +01:00
modules Improve a11y document and dropdown item (#29753) 2024-03-23 14:57:59 +01:00
render Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
standalone [FRONTEND] fix javascript linting errors 2024-02-25 23:43:58 +01:00
utils Support pasting URLs over markdown text (#29566) 2024-03-11 23:36:59 +07:00
vendor Vendor jquery.are-you-sure with strict mode fixes (#26901) 2023-09-06 00:02:44 +00:00
webcomponents Use Temporal.PlainDate for absolute dates (#29804) 2024-03-20 08:46:29 +01:00
bootstrap.js Fix JS error and improve error message styles (#29963) 2024-03-26 19:04:26 +01:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
htmx.js Auto-update the system status in admin dashboard (#29163) 2024-02-17 23:24:31 +01:00
index.js Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
jquery.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-20 08:46:30 +01:00
svg.js Switch to happy-dom for testing (#29948) 2024-03-26 19:04:26 +01:00
svg.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
utils.js enforce maxlength in frontend (#29389) 2024-02-26 22:30:27 +01:00
utils.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
vitest.setup.js [gitea] Move vitest setup file to root (#29097) 2024-02-10 10:53:43 +01:00