Merging this separately so the commit with the tooling change is readable. This is a follow-on to #1167 which turned prettier on.
8 lines
165 B
JavaScript
8 lines
165 B
JavaScript
'use strict'
|
|
|
|
// Cause unhandled promise rejections to fail unit tests, and print with stack
|
|
// traces.
|
|
process.on('unhandledRejection', error => {
|
|
throw error
|
|
})
|