-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: sveltekit example #548
Conversation
✔️ Deploy Preview for vitest-dev ready! 🔨 Explore the source changes: af24a2e 🔍 Inspect the deploy log: https://app.netlify.com/sites/vitest-dev/deploys/61e410a41f2b1000071fa913 😎 Browse the preview: https://deploy-preview-548--vitest-dev.netlify.app |
For reference, we discussed in https://chat.vitest.dev, See this thread and this discussion. @benmccann, @dominikg, and others are working to make SvelteKit more friendly to projects like Vitest (making it closer to a Vite plugin instead of a wrapper). Dominik suggested we should wait for this refactor to finish before adding this example to the examples |
Are there any news for this PR? 😄 |
We're adding experimental Vitest support to SvelteKit here: sveltejs/kit#5094 |
|
Happy to update PR. Im having some git issues, so might close this and open a new PR and link it here |
Sveltekit example.
Works on Stackblitz too https://stackblitz.com/edit/puruvj-vitest-bbl3di?file=.stackblitzrc (Screenshot thanks to @userquin )
ATM, have to use https://github.com/nickbreaton/vitest-svelte-kit because of how sveltekit digests the vite config into itself.
Would love to know maintainers' opinions on using an external lib