MCPcopy Index your code
hub / github.com/nodejs/node / test.js

File test.js

test/js-native-api/test_cannot_run_js/test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict';
2
3// Test that `napi_call_function()` returns `napi_cannot_run_js` in experimental
4// mode and `napi_pending_exception` otherwise. This test calls the add-on's

Callers

nothing calls this directly

Calls 2

runAllTestsFunction · 0.70
requireFunction · 0.50

Tested by

no test coverage detected