MCPcopy
hub / github.com/mongodb/node-mongodb-native / verifyKerberosAuthentication

Function verifyKerberosAuthentication

test/manual/kerberos.test.ts:14–17  ·  view source on GitHub ↗
(client)

Source from the content-addressed store, hash-verified

12chai.use(require('sinon-chai').default);
13
14async function verifyKerberosAuthentication(client) {
15 const docs = await client.db('kerberos').collection('test').find().toArray();
16 expect(docs).to.have.nested.property('[0].kerberos', true);
17}
18
19describe('Kerberos', function () {
20 let resolveStub;

Callers 1

kerberos.test.tsFile · 0.85

Calls 4

toArrayMethod · 0.80
collectionMethod · 0.65
findMethod · 0.45
dbMethod · 0.45

Tested by

no test coverage detected