| 117 | |
| 118 | test('应该支持多层级依赖注入', () => { |
| 119 | @Injectable() |
| 120 | @ECSSystem('A') |
| 121 | class SystemA extends EntitySystem implements IService { |
| 122 | constructor() { |
| 123 | super(Matcher.empty()); |
| 124 | } |
| 125 | override dispose() {} |
| 126 | } |
| 127 | |
| 128 | @Injectable() |
| 129 | @ECSSystem('B') |
nothing calls this directly
no test coverage detected