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

Update "glob" dependency to 6 to get rid of negate behavior #166

Closed
sarod opened this issue Jul 8, 2016 · 0 comments · Fixed by #173
Closed

Update "glob" dependency to 6 to get rid of negate behavior #166

sarod opened this issue Jul 8, 2016 · 0 comments · Fixed by #173

Comments

@sarod
Copy link

sarod commented Jul 8, 2016

I need to include in the loadFiles all ".spec.js" files under the base except those that are contained in the jspm_packages directory so I configured jspm karma this way:

loadFiles: [ '!(jspm_packages)/**/*.spec.js', '*.spec.js'],

This should work fine however "glob" before version 6 considers a pattern starting with ! as being negated.

I tried to workaround the problem changing the pattern to './!(jspm_packages)/*/.spec.js' but it breaks karma.

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 a pull request may close this issue.

1 participant