
Some questions that came up while working on Jest. Difference between mockClear, mockReset, mockRestore mockClear clears the call history of a mock. const mockFn = jest.fn(); mockFn(); // call 1 mockFn(); // call 2 expect(mockFn).toHaveBeenCalledTime...
Inference Service @ Cerebras
Engineer working in Cerebras. Latest work is Cerebras Inference. I love writing code in React, TypeScript, C++, Python. I spend most of my work hours tinkering with code.
Markdown supported · ⌘↵ to post
No responses yet.