Skip to content

mock-implementation

Mock and spy utilities for test files. Provides helpers to spy on methods with access to original implementations.

Interface Description
MockImplementationParams Parameters for mockImplementation.
Function Description
mockImplementation Spies on a method and replaces it with an implementation that receives originalImplementation as its first argument, followed by the real call arguments.