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

Function testObj

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

Source from the content-addressed store, hash-verified

281 };
282
283 const testObj = (obj, clazz) => {
284 testValue(obj, clazz);
285 testAccessor(obj, clazz);
286 testMethod(obj, clazz);
287
288 testEnumerables(obj, clazz);
289
290 testConventions(obj, clazz);
291 testUnwrap(obj, clazz);
292 };
293
294 async function testClass (clazz) {
295 testStaticValue(clazz);

Callers 1

testFunction · 0.85

Calls 6

testValueFunction · 0.85
testAccessorFunction · 0.85
testMethodFunction · 0.85
testEnumerablesFunction · 0.85
testConventionsFunction · 0.85
testUnwrapFunction · 0.85

Tested by 1

testFunction · 0.68