| 30 | describe('@service decorator', () => { |
| 31 | it('injects a service by class', async () => { |
| 32 | @injectable({scope: BindingScope.SINGLETON}) |
| 33 | class MyService { |
| 34 | getValue() { |
| 35 | return 'my-value'; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | class MyController { |
| 40 | constructor( |
nothing calls this directly
no test coverage detected