Put in order · JavaScript and TypeScript course · Module 11: Testing with Jest
jest.mock Syntax with Module Argument
Arrange the elements of jest.mock syntax with a module argument:
Items to put in order
- fn: jest.fn()
- }))
- .mock(
- , () => ({
- './module'
- jest
You can check the correct answer by solving this task in the CodeWorlds game.