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

Add a 'check-coverage' script so we can track towards completion #1820

Closed
wants to merge 2 commits into from

Commits on Sep 17, 2020

  1. Add --strict-peer-deps option

    This is the CLI portion of npm/arborist#136
    isaacs committed Sep 17, 2020
    Copy the full SHA
    987ee45 View commit details
    Browse the repository at this point in the history
  2. Add a 'check-coverage' script so we can track towards completion

    We are targetting 100% test coverage for npm v7 GA.  Using a
    coverage-map, we require that any of the newly created tests fully cover
    the module that they are testing.  However, this has the side effect of
    _always_ hitting 100% coverage when running 'npm test', even though not
    all modules are being tested.
    
    This adds a new 'load-all' test which, in 'check-coverage' mode, tells
    nyc to include every file in the project.
    
    This also removes the double-run of our tests in CI, where we run once
    and then immediately run the same exact thing again for Coveralls, and
    sends the 'check-coverage' output to Coveralls instead.
    isaacs committed Sep 17, 2020
    Copy the full SHA
    1922ef8 View commit details
    Browse the repository at this point in the history