6 lines
166 B
JavaScript
6 lines
166 B
JavaScript
'use strict';
|
|
|
|
// Cause unhandled promise rejections to fail unit tests, and print with stack
|
|
// traces.
|
|
process.on('unhandledRejection', error => { throw error; });
|