Click in order · JavaScript and React course · Module 13: Testing React
Jest test structure
Arrange a Jest assertion that checks whether result equals 42:
Items to click
- result
- expect
- .toBe
- )
- (42)
- (
You can check the correct answer by solving this task in the CodeWorlds game.