MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / reusing-mongo-client.test.ts

File reusing-mongo-client.test.ts

tests/features/reusing-mongo-client.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { MikroORM } from '@mikro-orm/core';
2import { ReflectMetadataProvider } from '@mikro-orm/decorators/legacy';
3import { MongoDriver } from '@mikro-orm/mongodb';
4import { Author, schema } from '../entities/index.js';

Callers

nothing calls this directly

Calls 8

testFunction · 0.85
getClientMethod · 0.80
initMethod · 0.65
getConnectionMethod · 0.65
connectMethod · 0.65
findMethod · 0.65
closeMethod · 0.65
isConnectedMethod · 0.45

Tested by

no test coverage detected