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

Derive config from .nycrc #401

Open
bennypowers opened this issue Jan 28, 2020 · 1 comment
Open

Derive config from .nycrc #401

bennypowers opened this issue Jan 28, 2020 · 1 comment

Comments

@bennypowers
Copy link

I'd like to add a .nycrc.json in my project root and have karma-coverage pick up on it without needing to specify includes or excludes in my karma.conf.js

Example config:

{
  "include": ["src/**/*.js"],
  "exclude": [
    "**/*.test.js",
    "stories/*",
    "test/*"
  ]
}

Additionally, some users will want to specify a nyc key in their package.json with value same as above.

@bennypowers
Copy link
Author

related to istanbuljs/nyc#320

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