Skip to content

Commit 985d2aa

Browse files
cknittcristianoc
authored andcommitted
Fix mocha invocation
1 parent b51dde3 commit 985d2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ciTest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function runTests() {
9898

9999
// running generated js tests
100100
if (mochaTest) {
101-
cp.execSync(`./node_modules/.bin/mocha jscomp/test/**/*test.js`, {
101+
cp.execSync(`npx mocha jscomp/test/**/*test.js`, {
102102
cwd: path.join(__dirname, ".."),
103103
stdio: [0, 1, 2],
104104
});

0 commit comments

Comments
 (0)