Skip to content

Commit ef3582e

Browse files
committed
Typing: update exit promise resolution handler
TODO: Determine how to retrieve failure count
1 parent c6d0528 commit ef3582e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ async function cli() {
4343
}
4444
return mochaWebpack.run()
4545
})
46-
.then((failures: number) => {
47-
exit(cliOptions.mocha.cli.exit, failures)
46+
.then(() => {
47+
exit(cliOptions.mocha.cli.exit, 0)
4848
})
4949
.catch((e: Error) => {
5050
if (e) console.error(e.stack) // eslint-disable-line

0 commit comments

Comments
 (0)