MCPcopy Create free account
hub / github.com/ethereum/node-crawler / mockRaw

Function mockRaw

frontend/src/data/DataProcessor.test.ts:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13];
14
15function 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
23function mockProcessor() {
24 const errorCallback = jest.fn()

Callers 1

Calls 2

ClientsProcessorFunction · 0.90
getRawMethod · 0.80

Tested by

no test coverage detected