yhh
1834bc2068
fix(tests): 更新测试以使用 GlobalComponentRegistry 实例
修复多个测试文件以适配 ComponentRegistry 从静态类变为实例类的变更:
- ComponentStorage.test.ts: 使用 GlobalComponentRegistry.reset()
- EntitySerializer.test.ts: 使用 GlobalComponentRegistry 实例
- IncrementalSerialization.test.ts: 使用 GlobalComponentRegistry 实例
- SceneSerializer.test.ts: 使用 GlobalComponentRegistry 实例
- ComponentRegistry.extended.test.ts: 使用 GlobalComponentRegistry,同时注册到 scene.componentRegistry
- SystemTypes.test.ts: 在 Scene 创建前注册组件
- QuerySystem.test.ts: mockScene 添加 componentRegistry
2025-12-16 12:38:14 +08:00
..
2025-12-16 12:06:09 +08:00
2025-12-16 11:55:39 +08:00
2025-12-16 11:12:17 +08:00
2025-12-16 11:12:17 +08:00
2025-12-13 19:44:08 +08:00
2025-12-13 19:44:08 +08:00
2025-12-09 18:04:03 +08:00
2025-12-08 21:26:35 +08:00
2025-12-16 11:12:17 +08:00
2025-12-08 21:26:35 +08:00
2025-12-16 12:38:14 +08:00
2025-12-16 11:25:28 +08:00
2025-12-16 11:51:58 +08:00
2025-12-16 11:23:50 +08:00
2025-12-13 19:44:08 +08:00
2025-12-16 11:25:28 +08:00
2025-12-16 11:11:48 +08:00
2025-12-09 18:04:03 +08:00
2025-12-13 19:44:08 +08:00
2025-12-13 19:44:08 +08:00
2025-12-08 21:23:37 +08:00
2025-12-16 11:52:21 +08:00
2025-12-13 19:44:08 +08:00
2025-12-16 11:12:50 +08:00
2025-12-13 19:44:08 +08:00
2025-12-08 21:23:37 +08:00
2025-12-16 11:55:06 +08:00
2025-12-08 21:26:35 +08:00
2025-12-08 21:26:35 +08:00
2025-12-10 18:23:29 +08:00
2025-12-16 11:55:06 +08:00
2025-12-13 20:56:22 +08:00
2025-12-08 21:26:35 +08:00
2025-12-16 11:12:17 +08:00
2025-12-08 21:26:35 +08:00
2025-12-16 11:12:17 +08:00
2025-12-13 19:44:08 +08:00
2025-12-16 11:25:49 +08:00
2025-12-13 19:44:08 +08:00
2025-12-08 21:23:37 +08:00
2025-12-16 11:12:17 +08:00
2025-12-13 19:44:08 +08:00