8a9f2261d0
* Add failing spec for unhandled main process exception * Remove unused return * Use let/const instead of var * Add spec for unhandled rejection in renderer process * Prevent unhandled rejection defaul * Use once instead of on * Add default fulfilled/rejection handler to promise
3 lines
80 B
JavaScript
3 lines
80 B
JavaScript
exports.reject = function () {
|
|
return Promise.reject(new Error('rejected'))
|
|
}
|