| 104 | |
| 105 | it('returns true for class instance with lifecycle methods', () => { |
| 106 | class MyObserver implements LifeCycleObserver { |
| 107 | async start() {} |
| 108 | async stop() {} |
| 109 | } |
| 110 | const instance = new MyObserver(); |
| 111 | expect(isLifeCycleObserver(instance)).to.be.true(); |
| 112 | }); |
nothing calls this directly
no test coverage detected