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

File EntitySchema.test.ts

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

Source from the content-addressed store, hash-verified

1import { EntitySchema, DateType } from '@mikro-orm/core';
2import { Author } from './entities/Author.js';
3import { AuthorRepository } from './repositories/AuthorRepository.js';
4import { BaseEntity } from './entities/BaseEntity.js';

Callers

nothing calls this directly

Calls 12

testFunction · 0.85
addPrimaryKeyMethod · 0.80
addEnumMethod · 0.80
addVersionMethod · 0.80
addOneToOneMethod · 0.80
setCustomRepositoryMethod · 0.80
addUniqueMethod · 0.80
setExtendsMethod · 0.80
initMethod · 0.65
addPropertyMethod · 0.45
addIndexMethod · 0.45

Tested by

no test coverage detected