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
It will first run vitest run /basic with v1.5.0, where the filter doesn't work. Then, it will install v1.4.0 and run the same command. Now the filter works.
Describe the bug
Before v1.5.0, I could pass filters with leading/trailing slashes like so:
This would ensure tests with files beginning with
basic
run, butsomething-basic
wouldn't.Now, this filter doesn't work anymore.
Reproduction
Open https://stackblitz.com/edit/vitest-dev-vitest-ggq36j?file=package.json and check the logs.
It will first run
vitest run /basic
with v1.5.0, where the filter doesn't work. Then, it will install v1.4.0 and run the same command. Now the filter works.System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: