Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-07-13 19:32:22 +0300
committerGar <wraithgar@github.com>2022-07-13 19:48:20 +0300
commitf1a9fc9e02cae7433edfba411cbd75a290b43203 (patch)
tree04c6994952d2d78093b2b759340a6311a79cc651 /workspaces
parent51cdee4892f95f9e42af917b04f5d4c2ab1b6f56 (diff)
chore: fix arborist tests for new npm-package-arg behaviour
Diffstat (limited to 'workspaces')
-rw-r--r--workspaces/arborist/tap-snapshots/test/spec-from-lock.js.test.cjs9
1 files changed, 9 insertions, 0 deletions
diff --git a/workspaces/arborist/tap-snapshots/test/spec-from-lock.js.test.cjs b/workspaces/arborist/tap-snapshots/test/spec-from-lock.js.test.cjs
index 840f0eaa1..c67ddf275 100644
--- a/workspaces/arborist/tap-snapshots/test/spec-from-lock.js.test.cjs
+++ b/workspaces/arborist/tap-snapshots/test/spec-from-lock.js.test.cjs
@@ -15,6 +15,7 @@ Result {
"fetchSpec": "{..}/some/path",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "x",
"raw": "x@file:../some/path",
@@ -33,6 +34,7 @@ Result {
"fetchSpec": "{CWD}/x-1.2.3.tgz",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "x",
"raw": "x@x-1.2.3.tgz",
@@ -51,6 +53,7 @@ Result {
"fetchSpec": "/path/to/x-1.2.3.tgz",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "x",
"raw": "x@/path/to/x-1.2.3.tgz",
@@ -69,6 +72,7 @@ Result {
"fetchSpec": "/path/to/x-1.2.3.tgz",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "x",
"raw": "x@/path/to/x-1.2.3.tgz",
@@ -87,6 +91,7 @@ Result {
"fetchSpec": "ssh://git@github.com/isaacs/abbrev-js.git",
"gitCommittish": "a9ee72ebc8fe3975f1b0c7aeb3a8f2a806a432eb",
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": GitHost {
"auth": null,
"browsefiletemplate": "function browsefiletemplate",
@@ -140,6 +145,7 @@ Result {
"fetchSpec": "1.2.3",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "legacy",
"raw": "legacy@1.2.3",
@@ -158,6 +164,7 @@ Result {
"fetchSpec": "{CWD}/foo.tgz",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "x",
"raw": "x@foo.tgz",
@@ -176,6 +183,7 @@ Result {
"fetchSpec": "1.2.3",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "x",
"raw": "x@1.2.3",
@@ -194,6 +202,7 @@ Result {
"fetchSpec": "1.2.3",
"gitCommittish": undefined,
"gitRange": undefined,
+ "gitSubdir": undefined,
"hosted": undefined,
"name": "x",
"raw": "x@1.2.3",