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

Function testStaticValue

test/objectwrap.js:157–160  ·  view source on GitHub ↗
(clazz)

Source from the content-addressed store, hash-verified

155 };
156
157 const testStaticValue = (clazz) => {
158 assert.strictEqual(clazz.testStaticValue, 'value');
159 assert.strictEqual(clazz[clazz.kTestStaticValueInternal], 5);
160 };
161
162 const testStaticAccessor = (clazz) => {
163 // read-only, write-only

Callers 1

testClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected