Put in order · JavaScript and React course · Module 13: Testing React

toMatchSnapshot syntax

Arrange the elements of the snapshot test syntax in the correct order:

Items to put in order

  • ).toMatchSnapshot()
  • expect(
  • container
  • .firstChild

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