Which of the following is a valid use case for a test double?
To represent a function or object being replaced in a test.
To replace TypeScript’s type system with mocks.
To execute real implementations during testing.
To write tests without a testing framework.
This question is part of this quiz :
Testing with TypeScript Quiz