After a lot of trouble trying to setup unit testing with Svelte and Vitest, I have come to the conclusion that it is not worth the trouble.
Instead we should move more to a system that relies on e2e type of testing for the front-end.
To accomplish this, we should introduce Playwright.
To be done in this ticket:
- Add playwright dependency and setup.
- Move all existing tests to playwright.
- Remove unit test files.
After a lot of trouble trying to setup unit testing with Svelte and Vitest, I have come to the conclusion that it is not worth the trouble.
Instead we should move more to a system that relies on e2e type of testing for the front-end.
To accomplish this, we should introduce Playwright.
To be done in this ticket: