1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/src/lib/features/onboarding
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
..
createOnboardingReadModel.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
createOnboardingService.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
fake-onboarding-read-model.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
fake-onboarding-store.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
onboarding-read-model-type.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
onboarding-read-model.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
onboarding-read-model.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
onboarding-service.e2e.test.ts task: migrate tests to vitest 2025-05-16 11:19:10 +02:00
onboarding-service.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
onboarding-store-type.ts feat: onboarding service composition root (#8035) 2024-09-02 11:39:47 +02:00
onboarding-store.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00