Click in order · NestJS course · Module 7: Testing
mockResolvedValue syntax
Arrange the correct mockResolvedValue configuration:
Items to click
- { id: 1, name: 'Legion' }
- .mockResolvedValue(
- jest.fn()
- )
You can check the correct answer by solving this task in the CodeWorlds game.