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

Function cleanupTest

test/child_processes/addon_data.js:7–9  ·  view source on GitHub ↗
(binding, hint)

Source from the content-addressed store, hash-verified

5// Make sure the instance data finalizer is called at process exit. If the hint
6// is non-zero, it will be printed out by the child process.
7const cleanupTest = (binding, hint) => {
8 binding.addon_data(hint).verbose = true;
9};
10
11module.exports = {
12 workingCode: binding => {

Callers 1

addon_data.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected