Click in order · JavaScript and TypeScript course · Module 11: Testing with Jest

Test Block Syntax

Arrange the elements of a basic Jest test:

Items to click

  • , () => {
  • 'should work'
  • })
  • expect(result).toBe(true)
  • it(

You can check the correct answer by solving this task in the CodeWorlds game.