koffi
Version:
Fast and simple C FFI (foreign function interface) for Node.js
21 lines (16 loc) • 466 B
JavaScript
const common = require('../common');
module.exports = common.runTest(test);
const execArgv = ['--force-node-api-uncaught-exceptions-policy=true'];
async function test () {
await common.runTestInChildProcess({
suite: 'threadsafe_function_exception',
testName: 'testCall',
execArgv
});
await common.runTestInChildProcess({
suite: 'threadsafe_function_exception',
testName: 'testCallWithNativeCallback',
execArgv
});
}
;