Skip to content

Commit e39804c

Browse files
committed
Don't exit on bad test (hides late test errors)
1 parent 3f6bbab commit e39804c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,5 @@ function exit() {
6464
})
6565

6666
ignored && console.error('⚠️', ignored, 'ignored test' + (ignored === 1 ? '' : 's', '\n'))
67-
!only && success && !ignored
68-
? console.log('All good')
69-
: process.exit(1) // eslint-disable-line
67+
console.log(!only && success && !ignored ? 'All good' : 'Not good')
7068
}

0 commit comments

Comments
 (0)