2.1.3 ā€¢ Published 1 year ago

@jest-performance-reporter/core v2.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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.

2.1.3

1 year ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago