-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Describe the bug
I've seen the error "No test suite found in file" many times over the course of months and it is reported at least twice before without clear resolution or at least a resolution that is helpful for my case:
sometimes, the error it disappears, just today I though I understood how to solve it but it appeared again. I am not sure why this happens. I was able to lock it down though to always fail with the code provided in the reproduction info block.
Reproduction
minimal reproduction code:
https://github.com/xania/view/tree/vitest-no-test-suite-found
pnpm install
System Info
System:
OS: Windows 10 10.0.22621
CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900HK
Memory: 17.43 GB / 31.68 GB
Binaries:
Node: 19.3.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 9.6.0 - ~\AppData\Roaming\npm\npm.CMD
Browsers:
Chrome: 107.0.5304.122
Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.68)
Internet Explorer: 11.0.22621.1
npmPackages:
vite: ^4.3.4 => 4.3.4
vitest: ^0.31.0 => 0.31.0Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
