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

Function mockProcessor

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

Source from the content-addressed store, hash-verified

21}
22
23function mockProcessor() {
24 const errorCallback = jest.fn()
25 const processor = ClientsProcessor(mockPeers, errorCallback)
26 expect(errorCallback).not.toBeCalled()
27 return processor
28}
29
30test("processes full schema correctly", () => {
31 const raw = mockRaw()

Callers 1

Calls 1

ClientsProcessorFunction · 0.90

Tested by

no test coverage detected