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

Override Jest config collectCoverageFrom with package.json #1829

Closed
wants to merge 4 commits into from

Conversation

ryansully
Copy link
Contributor

@ryansully ryansully commented Mar 15, 2017

EDIT Borked my upstream. See #1830 instead.
Solves #1455.
Verified by creating a new project using this code and testing with example package.json configuration:

"jest": {
  "collectCoverageFrom": [
    "src/**/*.{js,jsx}",
    "!<rootDir>/node_modules/",
    "!<rootDir>/path/to/dir/"
  ]
}

@ryansully ryansully closed this Mar 15, 2017
@ryansully ryansully deleted the coverage-exclude branch March 15, 2017 13:35
@h27-webdev
Copy link

h27-webdev commented Sep 4, 2018

This still includes css somehow how do Ignore css files?

@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants