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

update vitest #554

Closed
felixroos opened this issue Apr 28, 2023 · 2 comments · Fixed by #651
Closed

update vitest #554

felixroos opened this issue Apr 28, 2023 · 2 comments · Fixed by #651
Labels
bug Something isn't working

Comments

@felixroos
Copy link
Collaborator

vitest is currently on ^0.25. most newer versions fail with this error: "No test suite found in file" even though the tests are the same as before. I then tried a bunch of versions, including some of the past, to find this pattern:

^0.21.0: Cannot read properties of undefined (reading 'matchers')
^0.22.0: Cannot read properties of undefined (reading 'matchers')
^0.23.0: No test suite found in file
^0.24.0: No test suite found in file
^0.25.0: works
^0.26.0: No test suite found in file
^0.27.0: No test suite found in file
^0.28.0: works
^0.29.0: No test suite found in file
^0.30.1: No test suite found in file

Since 0.25, there have been some breaking changes

https://github.com/vitest-dev/vitest/releases/tag/v0.26.0
https://github.com/vitest-dev/vitest/releases/tag/v0.27.0
https://github.com/vitest-dev/vitest/releases/tag/v0.28.0
https://github.com/vitest-dev/vitest/releases/tag/v0.29.0
https://github.com/vitest-dev/vitest/releases/tag/v0.30.0

I guess thats what they call bleeding edge tech.. maybe just wait a little bit more to have it fixed.
There is probably som error shadowing going on..

related issues:

@felixroos felixroos added the bug Something isn't working label Apr 28, 2023
@felixroos felixroos mentioned this issue May 2, 2023
@bwagner
Copy link
Contributor

bwagner commented Jul 14, 2023

I had problems (No test suite found) with vitest 0.25.0 and 0.28.0, but 0.33.0 worked fine.

@felixroos
Copy link
Collaborator Author

I had problems (No test suite found) with vitest 0.25.0 and 0.28.0, but 0.33.0 worked fine.

yep 0.33.0 works fine for me. let's hope they fixed the problem once and for all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants