diff --git a/scripts/ciTest.js b/scripts/ciTest.js index 66b250e253..4c55996805 100644 --- a/scripts/ciTest.js +++ b/scripts/ciTest.js @@ -72,7 +72,7 @@ async function runTests() { const out = await exec(`node`, ["input.js"], { cwd: testDir }); console.log(out.stdout); - if (out.status === 0) { + if (out.code === 0) { console.log("✅ success in", file); } else { console.log(`❌ error in ${file} with stderr:\n`, out.stderr);