Question · NestJS course · Module 7: Testing

The module.get() method

module.get(ServiceName) in TestingModule is used for:

Answer options

  • Fetching data from the database
  • Retrieving a provider instance from the testing module
  • Removing a provider from the module
  • Sending an HTTP GET request

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