Put in order · NestJS course · Module 7: Testing

Horizontal sorting: Mock provider config

Arrange the mock provider configuration in TestingModule:

Items to put in order

  • mockLegionsService }
  • { provide:
  • LegionsService,
  • useValue:

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