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

File GH7534.test.ts

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

Source from the content-addressed store, hash-verified

1import { Collection, defineEntity, MikroORM, p, ref, Reference, ScalarReference } from '@mikro-orm/sqlite';
2
3// GH #7534: `referenceSymbol`, `scalarReferenceSymbol`, and `collectionSymbol`
4// must use globally-registered Symbol.for() to survive the CJS/ESM dual-package

Callers

nothing calls this directly

Calls 12

defineEntityFunction · 0.85
testFunction · 0.85
refFunction · 0.85
forMethod · 0.80
isReferenceMethod · 0.80
primaryMethod · 0.65
initMethod · 0.65
createMethod · 0.65
closeMethod · 0.65
flushMethod · 0.45
isCollectionMethod · 0.45
isScalarReferenceMethod · 0.45

Tested by

no test coverage detected