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
feat: add allowOnly
option
#669
Conversation
✔️ Deploy Preview for vitest-dev ready! 🔨 Explore the source changes: 674c035 🔍 Inspect the deploy log: https://app.netlify.com/sites/vitest-dev/deploys/61fb3b8116e4dc0007dd4f54 😎 Browse the preview: https://deploy-preview-669--vitest-dev.netlify.app |
Do we need an option for this? I would just enable this by default when env is Edit: maybe a flag to disable this should be added. Like with |
Sounds like a better approach. I'll update the PR. |
…dev#669) Co-authored-by: webfansplz <>
Closes #668.
This PR adds a new option
allowOnly
. If this option isfalse
, suites and tests marked asonly
will fail.By default, the option is disabled if
process.env.CI
istrue
and enabled otherwise.