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
What seems to happen is vitest doesn't construct test file paths correctly. For ./packages/foo/foo.test.ts, it tries to run a test for ./foo.test.ts. In fact, manually changing the url search param path from foo.test.ts to packages/foo/foo.test.ts runs the correct test.
Describe the bug
See reproduction.
It works fine in non-browser mode.
What seems to happen is vitest doesn't construct test file paths correctly. For
./packages/foo/foo.test.ts
, it tries to run a test for./foo.test.ts
. In fact, manually changing the url search parampath
fromfoo.test.ts
topackages/foo/foo.test.ts
runs the correct test.Reproduction
https://github.com/anilanar/vitest-workspace-browser-repro
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: