mirror of
https://github.com/Silverquark/dance.git
synced 2024-09-11 10:45:43 +03:00
Fix error messages not showing when running tests via command line.
This commit is contained in:
parent
4cb9519f14
commit
de6e5a24a2
@ -88,6 +88,6 @@ export async function run(testsRoot: string) {
|
||||
const failures = await new Promise<number>((resolve) => mocha.run(resolve));
|
||||
|
||||
if (failures > 0) {
|
||||
process.exit(1);
|
||||
process.exitCode = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user