Updated Vitest Major Version, Running from Intellij IDEA not finding any tests

已回答

It finds the right package with the right version

but now getting this

 

If I'm on a different branch with an older version of vitest, it works just fine. Clearing and invalidating cache, updating intellij idea to newest version, deleting and reinstalling the node modules, and deleting the .idea folder all didn't fix the issue. 

0


shoot. tried the EAP version too and still no luck

0

Hi Erica Jesse7 

I reproduced the issue on my side in IntelliJ IDEA 2025.2.4 and verified that we have this bug reported in WEB-75191 in the YouTrack ticket. Please refer to it for more details, subscribe for further updates, and upvote.

It also looks like the fix will be available in version 2025.3. By now, you can try adding the run --reporter=verbose command in the Vitest options. This will display the result, although the incorrect message is shown on the left side:

0

请先登录再写评论。