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

@jest-performance-reporter/core

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest-performance-reporter/core

🧐 Identify slow tests during development

  • 2.1.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
24K
increased by11.79%
Maintainers
1
Weekly downloads
 
Created
Source

Overview

🧐 Identify slow tests during development

📚 Create json or csv report including the test execution times

yarn add -DE @jest-performance-reporter/core

Example test run

Setup

Configure jest to use this reporter via the jest section in the package.json or your jest config.

{
  "reporters": [
    "default",
    [
      "@jest-performance-reporter/core",
      {
        "errorAfterMs": 1000,
        "warnAfterMs": 500,
        "logLevel": "warn",
        "maxItems": 5,
        "jsonReportPath": "performance-report.json",
        "csvReportPath": "performance-report.csv"
      }
    ]
  ]
}

The "default"-reporter creates the default jest output. If you don't need it, of course you can remove it.

FAQs

Package last updated on 28 Feb 2023

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