type
test.jest.Mock
type Mock<T extends (...args: any[]) => any = (...args: any[]) => any> = JestMock.Mock<T>
Constructs the type of a mock function, such as the return type of jest.fn().