diff --git a/web3.js/test/__mocks__/node-fetch.js b/web3.js/test/__mocks__/node-fetch.js index 77589a5280..b98ce78289 100644 --- a/web3.js/test/__mocks__/node-fetch.js +++ b/web3.js/test/__mocks__/node-fetch.js @@ -16,6 +16,8 @@ type RpcResponse = { export const mockRpc: Array<[string, RpcRequest, RpcResponse]> = []; +// Suppress lint: 'JestMockFn' is not defined +// eslint-disable-next-line no-undef const mock: JestMockFn = jest.fn( (fetchUrl, fetchOptions) => { expect(mockRpc.length).toBeGreaterThanOrEqual(1);