Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

chore: add regression tests for old lockfile warning #341

Closed
wants to merge 1 commit into from

Conversation

lukekarrys
Copy link
Contributor

@lukekarrys lukekarrys commented Oct 22, 2021

Ref: npm/cli#3721

Prior to this change1 reifying with no package-lock or a package-lock
with a merge conflict would result in an old lockfile warning. This adds
regression tests to explicitly test both those scenarios.

Footnotes

  1. https://github.com/npm/arborist/commit/c7f2370b3fa9111944b916871c281efba507732d#diff-a22bf0383032b8f318ebe49a4e41b34bcc98e2c10d18322f619edcd041a27483R333-R334

Ref: npm/cli#3721

Prior to this change[^1] reifying with no package-lock or a package-lock
with a merge conflict would result in an old lockfile warning. This adds
regression tests to explicitly test both those scenarios.

[^1]: c7f2370#diff-a22bf0383032b8f318ebe49a4e41b34bcc98e2c10d18322f619edcd041a27483R333-R334
@lukekarrys lukekarrys force-pushed the lk/old-lockfile-regression-test branch from 90db053 to a5218da Compare October 22, 2021 02:36
@isaacs isaacs closed this in cb8ef33 Oct 27, 2021
@lukekarrys lukekarrys deleted the lk/old-lockfile-regression-test branch October 27, 2021 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant