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

lib: allow modules without a script called test #811

Merged
merged 1 commit into from
Jul 13, 2020

Conversation

richardlau
Copy link
Member

@richardlau richardlau commented Jul 9, 2020

Some modules do not call their test script test. For example, a
module using Yarn workspaces may define workspace:test as their
testing script. We can specify the script to run in our lookup.json
but there was a place in our code that was specifically looking for
a script called test.

Checklist
  • npm test passes
  • tests are included
  • documentation is changed or added
  • contribution guidelines followed
    here

Some modules do not call their test script `test`. For example, a
module using Yarn workspaces may define `workspace:test` as their
testing script. We can specify the script to run in our `lookup.json`
but there was a place in our code that was specifically looking for
a script called `test`.
@codecov-commenter
Copy link

codecov-commenter commented Jul 9, 2020

Codecov Report

Merging #811 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #811   +/-   ##
=======================================
  Coverage   96.17%   96.17%           
=======================================
  Files          30       30           
  Lines         889      889           
=======================================
  Hits          855      855           
  Misses         34       34           
Impacted Files Coverage Δ
lib/package-manager/test.js 98.52% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fdcd865...7b2109e. Read the comment docs.

@richardlau richardlau merged commit b1482e4 into nodejs:master Jul 13, 2020
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 this pull request may close these issues.

3 participants