Skip to content

Commit ba84bab

Browse files
author
Dias, Diego
committed
Refactor: Adjusting warning message
1 parent af00810 commit ba84bab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test-coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626

2727
- name: Run Inline Assertion Tests & Verify Parity
2828
run: node scripts/run-inline-tests.js
29+
continue-on-error: true
2930

3031
- name: Run Jest Tests with Coverage
3132
run: npx jest --config=jest.config.jest-tests.js --coverage --ci

scripts/run-inline-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ function main() {
163163

164164
if (hasWarnings) {
165165
console.log('\nPlease review the inline assertions and ensure parity with Jest tests.');
166+
process.exit(1);
166167
} else {
167168
console.log('✓ All tests passed, parity verified');
169+
process.exit(0);
168170
}
169-
170-
process.exit(0);
171171
}
172172

173173
main();

0 commit comments

Comments
 (0)