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

nyc config is not used in browser tests #70

Open
yomed opened this issue Nov 16, 2017 · 0 comments
Open

nyc config is not used in browser tests #70

yomed opened this issue Nov 16, 2017 · 0 comments

Comments

@yomed
Copy link
Contributor

yomed commented Nov 16, 2017

I'm using nyc as directed, to generate code coverage. My .nycrc file looks like this:

{
  "exclude": [
    "**/test",
    "**/*.marko.js",
    "common/test-utils"
  ],
  "report-dir": "./.coverage",
  "all": true
}

The exclusions work fine on the server testing, but are not respected in browser tests. In the browser tests, even the .marko files get included in coverage, despite any exclusion rules against them.

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