(c: DataCollection<TestDataClass>, expected: [number, number][])
| 51 | } |
| 52 | |
| 53 | const expectByIdContents = (c: DataCollection<TestDataClass>, expected: [number, number][]) => { |
| 54 | expect([...c.byId.values()].map(x => [x.testid, x.testdata])).toEqual(expected); |
| 55 | } |
| 56 | |
| 57 | beforeEach(() => { |
| 58 | vi.useFakeTimers({ toFake: ['nextTick'] }); |
no outgoing calls
no test coverage detected