What is type-safe mocking?
A process to mock runtime behaviors without using type definitions.
Creating mock implementations that adhere to the original type or interface.
Using only default exports for mock functions.
Replacing the actual implementation with an empty function.
This question is part of this quiz :
Testing with TypeScript Quiz