MCPcopy
hub / github.com/ocodista/trampar-de-casa / connect

Method connect

packages/shared/src/test/mocks/mongodb.ts:8–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6 Document: vi.fn(),
7 MongoClient: class MongoClient {
8 public connect() {
9 return {
10 db: () => ({
11 collection: vi.fn(),
12 }),
13 Document: vi.fn(),
14 close: vi.fn(),
15 }
16 }
17 },
18 }
19})

Callers 9

getMongoConnectionFunction · 0.95
getMongoConnectionFunction · 0.95
createRabbitMqConnectionFunction · 0.80
createRabbitMqChannelFunction · 0.80
setupDataFunction · 0.80
get_postgres_connectionFunction · 0.80
index.tsFile · 0.80
getRedisClientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected