mirror of https://github.com/nodejs/node.git
10 lines
258 B
JavaScript
10 lines
258 B
JavaScript
|
'use strict';
|
||
|
const common = require('../../common');
|
||
|
const { runMakeCallback } = require(`./build/${common.buildType}/binding`);
|
||
|
|
||
|
process.on('uncaughtException', common.mustCall());
|
||
|
|
||
|
runMakeCallback(5, common.mustCall(() => {
|
||
|
throw new Error('foo');
|
||
|
}));
|