Open devtobi opened 1 week ago
https://github.com/vitest-dev/vitest-browser-vue might also be relevant in the future. We should take a look at it.
We decided to go with jsdom as a browser implementation library for now. This is supported by vitest out of the box. On top of that, it has more maturity than happy-dom and supports broader browser APIs.
Vitest Browser Mode will be evaluated again once it is out of experimental mode and provides a stable API when used with Vue components.
See https://github.com/it-at-m/refarch-templates/issues/357 for follow up issue.
Relevant template
refarch-frontend, refarch-webcomponent
Problem description (optional)
Currently the Vitest configurations differ quite alot in both templates. We should try to align them as good as possible.
Desired solution
Rework the Vitest configurations and think about thinks like:
Considered alternatives (optional)
No response
Additional context (optional)
No response
No duplicate
Code of Conduct