-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Vitest >=0.31.2 throws error cannot find package '__sveltekit'
in SvelteKit project
#3483
Closed
6 tasks done
Comments
Start a new pull request in StackBlitz Codeflow. |
Seems like |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
After updating to
vitest
/vite-node
0.31.2, I can't run my tests anymore. Instead, I get this error:I'm not sure if it's related, but there has been a similar looking issue in the past: sveltejs/kit#9162
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-byyurb?file=test%2Fbasic.test.ts,package.json&initialPath=__vitest__/
npm run test:run
to see the errorTo make the tests run:
0.30.1
npm i
npm run test:run
, they should passSystem Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: