Put in order · NestJS course · Module 6: Error Handling and Monitoring

Jest expect() Assertions

Arrange the Jest assertion syntax from expected value to matcher

Items to put in order

  • expectedValue);
  • expect(
  • ).toEqual(
  • result

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