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

Function testValue

test/objectwrap.js:12–15  ·  view source on GitHub ↗
(obj, clazz)

Source from the content-addressed store, hash-verified

10 const Test = binding.objectwrap.Test;
11
12 const testValue = (obj, clazz) => {
13 assert.strictEqual(obj.testValue, true);
14 assert.strictEqual(obj[clazz.kTestValueInternal], false);
15 };
16
17 const testAccessor = (obj, clazz) => {
18 // read-only, write-only

Callers 1

testObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected