You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a config like below, test/foo.test.ts will not run. (This is correct.)
But if you add test/bar.test.ts after running vitest, it gets included.
Describe the bug
When there is a config like below,
test/foo.test.ts
will not run. (This is correct.)But if you add
test/bar.test.ts
after runningvitest
, it gets included.Maybe related to #981.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-xrmrde?file=vite.config.ts&initialPath=__vitest__
npm run test
.src/bar.test.ts
is included andtest/bar.test.ts
is not included.test/foo.test.ts
.test/foo.test.ts
is included.System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: