MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / wrapTest

Function wrapTest

test/error_terminating_environment.js:69–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 wrapTest();
68
69 async function wrapTest () {
70 const buildType = await whichBuildType();
71 test(`./build/${buildType}/binding.node`, true);
72 test(`./build/${buildType}/binding_noexcept.node`, true);
73 test(`./build/${buildType}/binding_swallowexcept.node`, false);
74 test(`./build/${buildType}/binding_swallowexcept_noexcept.node`, false);
75 test(`./build/${buildType}/binding_custom_namespace.node`, true);
76 }
77
78 function test (bindingPath, processShouldAbort) {
79 const numberOfTestCases = 5;

Calls 2

whichBuildTypeFunction · 0.85
testFunction · 0.70

Tested by

no test coverage detected