(ids: any[])
| 10 | |
| 11 | (function () { |
| 12 | function createMetric(ids: any[]) { |
| 13 | const m = Injector.create({ |
| 14 | providers: [ |
| 15 | ids.map((id) => ({provide: id, useValue: new MockMetric(id)})), |
| 16 | MultiMetric.provideWith(ids), |
| 17 | ], |
| 18 | }).get<MultiMetric>(MultiMetric); |
| 19 | return Promise.resolve(m); |
| 20 | } |
| 21 | |
| 22 | describe('multi metric', () => { |
| 23 | it('should merge descriptions', (done) => { |
no test coverage detected
searching dependent graphs…