Skip to content

Commit 0d7a353

Browse files
IvanGoncharovleebyron
authored andcommitted
mocha >= 4.0 correctly reports unhandledRejection on its own (#1299)
See: mochajs/mocha#2879
1 parent f995c1f commit 0d7a353

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

resources/mocha-bootload.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,3 @@
77

88
var chai = require('chai');
99
chai.use(require('chai-subset'));
10-
11-
process.on('unhandledRejection', function (error) {
12-
console.error('Unhandled Promise Rejection:');
13-
console.error(error && error.stack || error);
14-
});

0 commit comments

Comments
 (0)