Question · NestJS course · Module 7: Testing
The compile() method in TestingModule
What does the compile() method do in TestingModule?
Answer options
- Compiles TypeScript code to JavaScript
- Runs all tests in the module
- Finalizes the testing module configuration and creates an instance
- Connects to the test database
You can check the correct answer by solving this task in the CodeWorlds game.