You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tap-snapshots/test/lib/commands/run-script.js.test.cjs
+54-49Lines changed: 54 additions & 49 deletions
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,11 @@ postenv:echo after the env
31
31
32
32
exports[`test/lib/commands/run-script.js TAP list scripts warn json > json report 1`]=`
33
33
{
34
-
test: 'exit 2',
35
-
start: 'node server.js',
36
-
stop: 'node kill-server.js',
37
-
preenv: 'echo before the env',
38
-
postenv: 'echo after the env'
34
+
"test": "exit 2",
35
+
"start": "node server.js",
36
+
"stop": "node kill-server.js",
37
+
"preenv": "echo before the env",
38
+
"postenv": "echo after the env"
39
39
}
40
40
`
41
41
@@ -53,20 +53,34 @@ Scripts available in x@1.2.3 via \`npm run-script\`:
53
53
54
54
exports[`test/lib/commands/run-script.js TAP workspaces failed workspace run with succeeded runs > should log error msgs for each workspace script 1`]=`
55
55
Lifecycle script \`glorp\` failed with error:
56
-
Error: ERR
57
-
in workspace: a@1.0.0
58
-
at location: {CWD}/prefix/packages/a
56
+
workspace a@1.0.0
57
+
code ERR
58
+
ERR
59
59
`
60
60
61
61
exports[`test/lib/commands/run-script.js TAP workspaces list all scripts --json > must match snapshot 1`]=`
0 commit comments