-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 --exclude
CLI flag
#4279
Conversation
✅ Deploy Preview for fastidious-cascaron-4ded94 canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would also be nice if you can provide a test case for this feature. I don't think we have tests specifically for CLI commands, but you can create one.
Good idea, will create a test for CLIs later. |
@sheremet-va , I think I have difficulties creating the CLI test since I don't know how to access the config from the running Alternatively, we can just provide test for |
You can see an example of a CLI test in #4399 |
Description
This pull request adds a new flag
--exclude
as a CLI option that allows users to specify extra glob patterns to be ignored from tests. By default, it will merge the globs with existing default excludes.Closes #4148
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.