MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / EntityFactory.test.ts

File EntityFactory.test.ts

tests/EntityFactory.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Collection, EntityFactory, MikroORM, ObjectId, ReferenceKind, wrap } from '@mikro-orm/mongodb';
2import { Author, Book, BookTag, Publisher, Test } from './entities/index.js';
3import { initORMMongo, mockLogger } from './bootstrap.js';
4import { AuthorRepository } from './repositories/AuthorRepository.js';

Callers

nothing calls this directly

Calls 15

initORMMongoFunction · 0.85
testFunction · 0.85
getEntityFactoryMethod · 0.80
createReferenceMethod · 0.80
createEmbeddableMethod · 0.80
isDirtyMethod · 0.80
mockLoggerFunction · 0.70
referenceColumnNameMethod · 0.65
clearMethod · 0.65
closeMethod · 0.65
getAllMethod · 0.65
getMetadataMethod · 0.65

Tested by

no test coverage detected