Skip to content

Commit 1befdfb

Browse files
committed
should-fail-tests
1 parent 90b3fe0 commit 1befdfb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

run-should-fail-tests.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ const go = async () => {
2222
try {
2323
console.log(`testing: ${p}`);
2424

25-
await exec(`cd "./should-fail-tests/${p}" && spago install`, true);
26-
await exec(`cd "./should-fail-tests/${p}" && spago build`, true);
25+
await exec(
26+
`cd "./should-fail-tests/${p}" && npm exec spago install`,
27+
true,
28+
);
29+
await exec(`cd "./should-fail-tests/${p}" && npm exec spago build`, true);
2730

2831
console.error(`${p} compiled. Test failed`);
2932
process.exit(1);

0 commit comments

Comments
 (0)