Socket
Socket
Sign inDemoInstall

@nrwl/jest

Package Overview
Dependencies
1
Maintainers
7
Versions
1339
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
1.4M
increased by3.8%
Maintainers
7
Created
Weekly downloads
 

Package description

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

Readme

Source

@nrwl/jest has been renamed to @nx/jest!

@nrwl/jest has been renamed to @nx/jest. Please use that instead.

Read more here

@nrwl/jest will no longer be published in Nx v18.

Nx - Smart Monorepos · Fast CI

Nx: Smart Monorepos · Fast CI

Nx is a build system with built-in tooling and advanced CI capabilities. It helps you maintain and scale monorepos, both locally and on CI.

Keywords

FAQs

Last updated on 17 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc