TMock
Bun

type

test.jest.Mock

type Mock<T extends (...args: any[]) => any = (...args: any[]) => any> = JestMock.Mock<T>

Constructs the type of a mock function, e.g. the return type of jest.fn().