Skip to content

Commit 38630e5

Browse files
committed
chore: fix fail
1 parent 4bd24ec commit 38630e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tools/runner/hooks/configuration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ function checkFlakyTestList(this: Context) {
236236

237237
const flakyTestDoesNotExist = flakyTests.find(testName => !allTests.includes(testName));
238238
if (flakyTestDoesNotExist != null) {
239-
console.error('Flaky test:', flakyTestDoesNotExist, 'is not run at all');
240-
process.exitCode = 1;
239+
console.error('Flaky test:', JSON.stringify(flakyTestDoesNotExist), 'is not run at all');
240+
process.exit(1);
241241
}
242242
}
243243

0 commit comments

Comments
 (0)