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

karma excludes just one folder not path #416

Open
shahzeb79 opened this issue Jun 19, 2020 · 0 comments
Open

karma excludes just one folder not path #416

shahzeb79 opened this issue Jun 19, 2020 · 0 comments

Comments

@shahzeb79
Copy link

Hi All,
I have a case where my code lies as:

src
    hapa
            dm
                  lib
                      dir1
                      dir2
                      dir3

now, i just want to exclude dir3, but i want to keep dir1 and dir2 in includes,
is it possible to do something like [/src/!(hapa/dm/lib/dir3)//*.js]: [coverage] ?
for me somehow its not working as we cannot use path in excludes.

Anyone has any idea?

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

No branches or pull requests

1 participant