MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / assertConstructorExposed

Function assertConstructorExposed

test/unit/basic-tests.js:986–991  ·  view source on GitHub ↗
(obj, constructorRef)

Source from the content-addressed store, hash-verified

984});
985
986function assertConstructorExposed(obj, constructorRef) {
987 assert.ok(obj);
988 assert.strictEqual(typeof constructorRef, 'function');
989 // Verify that is exposed with the same name as the class
990 assert.strictEqual(obj[constructorRef.name], constructorRef);
991}

Callers 1

basic-tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected