Skip to content
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

Rewrite Vitest adder built-in to svelte-add #191

Closed
rgossiaux opened this issue Feb 3, 2022 · 5 comments
Closed

Rewrite Vitest adder built-in to svelte-add #191

rgossiaux opened this issue Feb 3, 2022 · 5 comments

Comments

@rgossiaux
Copy link

Would be nice if there was a vitest integration. I tried setting vitest up myself and couldn't get the config working properly, so I'm sure it'd save folks a lot of time if they wanted to try using vitest.

@wd-David
Copy link
Contributor

wd-David commented Mar 7, 2022

I've recently tackled some problems when testing different svelte packages in Vitest: janosh/svelte-multiselect#48.
My DX improves a ton after I switched from Jest to Vitest, so I'm considering writing an adder for that.
Here is an example you can try online.

@david-plugge
Copy link

didnt see this issue, oops
#212

@babichjacob
Copy link
Member

babichjacob commented Jun 30, 2022

@davipon has created an external adder! Check it out. Renaming this issue accordingly.

@babichjacob babichjacob changed the title Add vitest Rewrite Vitest adder built-in to svelte-add Jun 30, 2022
@wd-David
Copy link
Contributor

@benmccann had created a discussion here: sveltejs/kit#5285
To make Vitest an option in create-svelte.

@manuel3108
Copy link
Member

create-svelte is not handled by svelte-add, because it's an official package from the core svelte team. Adiitionally this is currently supported by the main create-svelte cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants