1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-27 01:19:00 +02:00
unleash.unleash/src
Christopher Kolstad b681702b77
task: migrate tests to vitest
Vitest Pros:
* Automated failing test comments on github PRs
* A nice local UI with incremental testing when changing files (`yarn
test:ui`)
* Also nicely supported in all major IDEs, click to run test works (so
we won't miss what we had with jest).
* Works well with ESM

Vitest Cons:
* The ESBuild transformer vitest uses takes a little longer to transform
than our current SWC/jest setup, however, it is possible to setup SWC as
the transformer for vitest as well (though it only does one transform,
so we're paying ~7-10 seconds instead of ~ 2-3 seconds in transform
phase).
* Exposes how slow our tests are (tongue in cheek here)
2025-05-16 11:19:10 +02:00
..
lib task: migrate tests to vitest 2025-05-16 11:19:10 +02:00
mailtemplates chore: small visual improvements to the new invite mail template (#9998) 2025-05-15 08:52:01 +01:00
migrations feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
test task: migrate tests to vitest 2025-05-16 11:19:10 +02:00
migrator.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
server-dev.ts chore: remove filterExistingFlagNames feature flag (#9957) 2025-05-16 08:52:27 +01:00
server.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
test-setup.ts task: migrate tests to vitest 2025-05-16 11:19:10 +02:00