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

Refactor npm 6 specs #3072

Merged
merged 6 commits into from
Feb 4, 2021
Merged

Refactor npm 6 specs #3072

merged 6 commits into from
Feb 4, 2021

Conversation

feelepxyz
Copy link
Contributor

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.

@feelepxyz feelepxyz requested a review from a team as a code owner February 3, 2021 15:59
@feelepxyz feelepxyz requested a review from jurre February 3, 2021 15:59
@@ -0,0 +1,6 @@
const conflictingDependencyParser = require("./conflicting-dependency-parser");
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@feelepxyz feelepxyz merged commit d8040ab into main Feb 4, 2021
@feelepxyz feelepxyz deleted the feelepxyz/npm-spec-refactor branch February 4, 2021 11:19
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.

2 participants