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

Add support for Vitest in addition to jest #343

Open
jasikpark opened this issue Feb 23, 2023 · 5 comments
Open

Add support for Vitest in addition to jest #343

jasikpark opened this issue Feb 23, 2023 · 5 comments

Comments

@jasikpark
Copy link

https://vitest.dev/ is a popular testing framework among those who use https://vite.dev and vite derived build tools like https://astro.build, it'd be great to see integration here for that testing ecosystem as well!

Prior art might be seen in dubzzz/fast-check#3217

@bertschneider
Copy link
Contributor

Thanks for the suggestion and linked code example. The integration into fast-check looks quite simple.

Added to the ever growing list of good possible additions 👍 In the meantime, feel free to give it a try yourself, we would love some contributions to the project.

@jasikpark
Copy link
Author

I'm excited to try it out! Would probably end up updating https://github.com/jasikpark/fuzz-prettier or adding a JS based fuzzer to withastro/compiler in addition to my golang attempts..

@jasikpark
Copy link
Author

Just updated to use the jest integration in https://github.com/jasikpark/fuzz-prettier, it's so nice! Excited to update to jazzer.js 2.0.0 to get the tighter TypeScript integration 👍

@jasikpark
Copy link
Author

How do I need to update my jest config to remove ts-jest? I thought the release notes had mentioned that..

@br-lewis
Copy link
Contributor

You should just need to remove it. babel-jest is the default and can handle Typescript but won't do type checking. #635 should mean that ts-jest will work properly again though and should be merged soon.

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

No branches or pull requests

3 participants