()
| 13 | ]; |
| 14 | |
| 15 | function mockRaw() { |
| 16 | const errorCallback = jest.fn() |
| 17 | const processor = ClientsProcessor(mockPeers, errorCallback).getRaw() |
| 18 | expect(processor).toHaveLength(mockPeers.length) |
| 19 | expect(errorCallback).not.toBeCalled() |
| 20 | return processor |
| 21 | } |
| 22 | |
| 23 | function mockProcessor() { |
| 24 | const errorCallback = jest.fn() |
no test coverage detected