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

File EventSystem.test.ts

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

Source from the content-addressed store, hash-verified

1import { TypeSafeEventSystem, GlobalEventSystem } from '../../../src/ECS/Core/EventSystem';
2import { ECSEventType } from '../../../src/ECS/CoreEvents';
3
4// 测试事件数据类型

Callers

nothing calls this directly

Calls 10

nowMethod · 0.80
pushMethod · 0.65
clearMethod · 0.65
getStatsMethod · 0.65
onMethod · 0.45
emitMethod · 0.45
offMethod · 0.45
onceMethod · 0.45
logMethod · 0.45
forEachMethod · 0.45

Tested by

no test coverage detected