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

Function testUnwrap

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

Source from the content-addressed store, hash-verified

276 }
277
278 const testUnwrap = (obj, clazz) => {
279 obj.testSetter = 'unwrapTest';
280 assert(clazz.canUnWrap(obj, 'unwrapTest'));
281 };
282
283 const testObj = (obj, clazz) => {
284 testValue(obj, clazz);

Callers 1

testObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected