NestJS · Testing · Junior · Concept
What is TestingModule in Nest?
Short Interview Answer
A DI sandbox (@nestjs/testing) to create modules with overrides for unit/e2e-style provider tests.
Detailed Explanation
overrideProvider/useValue mocks dependencies. compile() builds the Nest context without listening HTTP unless e2e.