Skip to content
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

Include exclude #380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Include exclude #380

wants to merge 2 commits into from

Conversation

athayes
Copy link

@athayes athayes commented Jan 26, 2025

What is this for:
I (and others I know) use this extension over any other jest extension when working on monorepos, particularly when I don't want to bother creating vscode workspaces for every node workspace I'm working on. It's been great to use.

I want to be able to opt-in and out of the extension for certain directories or files e.g. for repos with different test frameworks in the same repo.

I personally only need the include for my use case, but the exclude seems like a good addition.

Testing:
Manually tested on Ubuntu and Windows

Other options:
Looking at this some more, perhaps the existing CodeLensSelector is what I should use? e.g. {jest1,jest2}/**/*.{test,spec}.{js,jsx,ts,tsx})...

@athayes athayes marked this pull request as ready for review January 26, 2025 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant