mirror of https://github.com/espruino/BangleApps
Update bin/runapptests.js
Co-authored-by: Rob Pilling <robpilling@gmail.com>pull/3399/head
parent
816313e136
commit
b1e7c1b4ea
|
@ -485,7 +485,7 @@ emu.init({
|
||||||
console.table(testState);
|
console.table(testState);
|
||||||
|
|
||||||
process.exit(testState.reduce((a,c)=>{
|
process.exit(testState.reduce((a,c)=>{
|
||||||
return a + ((c.result == "SUCCESS") ? 0 : 1);
|
return a || ((c.result == "SUCCESS") ? 0 : 1);
|
||||||
}, 0))
|
}, 0))
|
||||||
});
|
});
|
||||||
return p;
|
return p;
|
||||||
|
|
Loading…
Reference in New Issue