-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Refactor npm 6 specs #3072
Refactor npm 6 specs #3072
Conversation
@@ -0,0 +1,6 @@ | |||
const conflictingDependencyParser = require("./conflicting-dependency-parser"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shared between npm 6 and 7
@@ -1683,70 +1614,30 @@ | |||
end | |||
end | |||
|
|||
context "errors" do | |||
context "git sub-dependency with invalid from" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved to the npm lockfile updater spec
@@ -1590,35 +1311,18 @@ | |||
) | |||
).to eq("^3.0.2") | |||
end | |||
|
|||
context "for an npm6 lockfile" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems identical to the above npm6/simple
test case
Pulling out the npm 6 spec refactors from #3011 to make it easier to review.
I've also made the change to install npm 7 cli but this is still unused.