CodeBrowser / npm / @nestjs/testing
@nestjs/testing@11.1.28
// Nest - modern, fast, powerful node.js web framework (@testing)
$ npm install @nestjs/testing
downloads/wk
8,039,662
license
MIT
version
11.1.28
published
Jul 8, 2026
What is @nestjs/testing?
@nestjs/testing is a utility package that provides tools for writing unit and integration tests for NestJS applications. It offers testing utilities like `Test.createTestingModule()` to set up isolated test environments with mocked dependencies, making it easier to test NestJS modules, services, and controllers in isolation. Developers use this package to write faster, more reliable tests by controlling which dependencies are included in each test scenario.
Dependencies (1)
Maintainers
nestjscore