New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected include
config behaviour since 0.3.0
#725
Comments
This was not the intention. Must be a bug. |
This is caused by arrays being merged. |
Yes, this was the intention. I think |
I'll create a PR. |
Describe the bug
This is my vitest config from
vite.config.ts
:Since 0.3.0 this exact config makes Vitest also includes my
**/__tests__/*.spec.ts
files which I use with Cypress, so Vitest tries to run Cypress tests and fails.I expect with my
include
config that only my pattern is used, and not any patterns from the default configuration.Reproduction
https://stackblitz.com/edit/node-aakamc?file=vite.config.js
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: