MCPcopy Create free account
hub / github.com/esengine/esengine / ReferenceTracker.test.ts

File ReferenceTracker.test.ts

packages/core/tests/ECS/Core/ReferenceTracker.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, test, expect, beforeEach } from '@jest/globals';
2import { ReferenceTracker } from '../../../src/ECS/Core/ReferenceTracker';
3import { Component } from '../../../src/ECS/Component';
4import { Entity } from '../../../src/ECS/Entity';

Callers

nothing calls this directly

Calls 12

registerReferenceMethod · 0.80
getReferencesToMethod · 0.80
unregisterReferenceMethod · 0.80
clearReferencesToMethod · 0.80
keysMethod · 0.80
createEntityMethod · 0.65
derefMethod · 0.65
pushMethod · 0.65
addComponentMethod · 0.45
cleanupMethod · 0.45
getDebugInfoMethod · 0.45

Tested by

no test coverage detected