Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nrwl/jest

Package Overview
Dependencies
Maintainers
7
Versions
1661
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrwl/jest

The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.

  • 19.8.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
966K
decreased by-12.92%
Maintainers
7
Weekly downloads
 
Created

What is @nrwl/jest?

The @nrwl/jest package is part of the Nx suite of tools, designed to enhance the development experience with Jest in a monorepo setup. It provides seamless integration of Jest into Nx workspaces, enabling efficient unit testing configurations, execution, and optimizations tailored for projects managed within an Nx workspace.

What are @nrwl/jest's main functionalities?

Simplified Jest Configuration

Allows for simplified and centralized Jest configuration within an Nx workspace, making it easier to manage and share configurations across multiple library and application projects.

{
  "jestConfig": "./jest.config.js",
  "tsConfig": "./tsconfig.spec.json",
  "setupFile": "./src/test-setup.ts"
}

Parallel Test Execution

Enables parallel execution of tests across multiple projects within the workspace, significantly reducing the total time required for running tests in large projects.

nx run-many --target=test --all --parallel

Test Affected Projects

Identifies and runs tests only for the projects affected by recent changes, improving efficiency in continuous integration pipelines by skipping tests for unchanged projects.

nx affected:test

Other packages similar to @nrwl/jest

Keywords

FAQs

Package last updated on 04 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc