NestJS · Junior · Question 50 of 75
What does an e2e test in a Nest project typically do?
- 1Runs the app in the browser
- ✓Correct answer: Creates the full app from the testing module and sends real HTTP requests with Supertest
- 3Tests only a single function
Explanation
The default project includes a test/app.e2e-spec.ts that does exactly this with app.getHttpServer().