Skip to content

Commit f1a9fc9

Browse files
committed
chore: fix arborist tests for new npm-package-arg behaviour
1 parent 51cdee4 commit f1a9fc9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

workspaces/arborist/tap-snapshots/test/spec-from-lock.js.test.cjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Result {
1515
"fetchSpec": "{..}/some/path",
1616
"gitCommittish": undefined,
1717
"gitRange": undefined,
18+
"gitSubdir": undefined,
1819
"hosted": undefined,
1920
"name": "x",
2021
"raw": "x@file:../some/path",
@@ -33,6 +34,7 @@ Result {
3334
"fetchSpec": "{CWD}/x-1.2.3.tgz",
3435
"gitCommittish": undefined,
3536
"gitRange": undefined,
37+
"gitSubdir": undefined,
3638
"hosted": undefined,
3739
"name": "x",
3840
@@ -51,6 +53,7 @@ Result {
5153
"fetchSpec": "/path/to/x-1.2.3.tgz",
5254
"gitCommittish": undefined,
5355
"gitRange": undefined,
56+
"gitSubdir": undefined,
5457
"hosted": undefined,
5558
"name": "x",
5659
"raw": "x@/path/to/x-1.2.3.tgz",
@@ -69,6 +72,7 @@ Result {
6972
"fetchSpec": "/path/to/x-1.2.3.tgz",
7073
"gitCommittish": undefined,
7174
"gitRange": undefined,
75+
"gitSubdir": undefined,
7276
"hosted": undefined,
7377
"name": "x",
7478
"raw": "x@/path/to/x-1.2.3.tgz",
@@ -87,6 +91,7 @@ Result {
8791
"fetchSpec": "ssh://[email protected]/isaacs/abbrev-js.git",
8892
"gitCommittish": "a9ee72ebc8fe3975f1b0c7aeb3a8f2a806a432eb",
8993
"gitRange": undefined,
94+
"gitSubdir": undefined,
9095
"hosted": GitHost {
9196
"auth": null,
9297
"browsefiletemplate": "function browsefiletemplate",
@@ -140,6 +145,7 @@ Result {
140145
"fetchSpec": "1.2.3",
141146
"gitCommittish": undefined,
142147
"gitRange": undefined,
148+
"gitSubdir": undefined,
143149
"hosted": undefined,
144150
"name": "legacy",
145151
@@ -158,6 +164,7 @@ Result {
158164
"fetchSpec": "{CWD}/foo.tgz",
159165
"gitCommittish": undefined,
160166
"gitRange": undefined,
167+
"gitSubdir": undefined,
161168
"hosted": undefined,
162169
"name": "x",
163170
@@ -176,6 +183,7 @@ Result {
176183
"fetchSpec": "1.2.3",
177184
"gitCommittish": undefined,
178185
"gitRange": undefined,
186+
"gitSubdir": undefined,
179187
"hosted": undefined,
180188
"name": "x",
181189
@@ -194,6 +202,7 @@ Result {
194202
"fetchSpec": "1.2.3",
195203
"gitCommittish": undefined,
196204
"gitRange": undefined,
205+
"gitSubdir": undefined,
197206
"hosted": undefined,
198207
"name": "x",
199208

0 commit comments

Comments
 (0)