Skip to content
Prev Previous commit
Next Next commit
Update test/node-api/test_cannot_run_js/test.js
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
  • Loading branch information
gabrielschulhof and legendecas authored May 18, 2023
commit fa45e0a184d331d7541af100ffcdad8a0dd56435
2 changes: 1 addition & 1 deletion test/node-api/test_cannot_run_js/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const addon_v8 = require(`./build/${buildType}/test_pending_exception`);
const addon_new = require(`./build/${buildType}/test_cannot_run_js`);

function runTests(addon, isVersion8) {
addon.createRef(runTests);
addon.createRef(common.mustNotCall());
}

function runAllTests() {
Expand Down