Question · NestJS course · Module 7: Testing

NestJS testing module

Test.createTestingModule() in NestJS is used for:

Answer options

  • Creating an isolated module for tests with mocks
  • Generating API documentation
  • Running the application in production mode
  • Creating database migrations

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