Skip to content

Commit

Permalink
test_runner: use exit code constants instead of magic number exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
fossamagna committed Nov 2, 2022
1 parent 8605073 commit e4a16bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/test_runner/harness.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function createProcessEventHandler(eventName, rootTest) {
`triggered an ${eventName} event.`;

rootTest.diagnostic(msg);
process.exitCode = 1;
process.exitCode = kGenericUserError;
return;
}

Expand Down

0 comments on commit e4a16bd

Please sign in to comment.