Open benmccann opened 2 weeks ago
test:unit:client could run .svelte and .svelte.js/.svelte.ts files with jsdom and svelte testing library (which sets resolve: browser)
test:unit:client
.svelte
.svelte.js
.svelte.ts
resolve: browser
test:unit:server could run the remaining files without those
test:unit:server
Feedback from the vitest team was to use their workspaces feature for this: https://github.com/dominikg/vitest-example-svelte5/blob/main/vitest.workspace.ts
test:unit:client
could run.svelte
and.svelte.js
/.svelte.ts
files with jsdom and svelte testing library (which setsresolve: browser
)test:unit:server
could run the remaining files without those