Skip to content
GitHub

Mock

type alias in meocord/testing Since 4.0.0

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

A mock function, as jest's Mock and Vitest's Mock name it: the same type as MockedFunction.