Skip to content

Commit 05a79b9

Browse files
committed
mocha >= 4.0 correctly reports unhandledRejection on its own
mochajs/mocha#2879
1 parent 737043e commit 05a79b9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/mocha-bootload.js

-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,4 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
process.on('unhandledRejection', function(error) {
11-
console.error('Unhandled Promise Rejection:');
12-
console.error((error && error.stack) || error);
13-
});
14-
1510
process.env.NODE_ENV = 'test';

0 commit comments

Comments
 (0)