Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
jest-slow-test-reporter
Advanced tools
No dependencies, no interactive shell needed. Prints out the slowest 10 tests in your app. Can also print warnings when a test exceeds X ms.
You may install this package as a development dependency:
npm install --save-dev jest-slow-test-reporter
yarn add --dev jest-slow-test-reporter
Configure Jest to use the reporter.
For example, create a jest.config.js
file containing:
module.exports = {
verbose: false,
reporters: [
['jest-slow-test-reporter', {"numTests": 8, "warnOnSlowerThan": 300, "color": true}]
]
};
numTests controls how many slow tests to print. warnOnSlowerThan will warn when a test exceeds this time in milliseconds. color will make the warnOnSlowerThan warning messages print in red
FAQs
Reports the slowest tests in your jest suite.
The npm package jest-slow-test-reporter receives a total of 53,064 weekly downloads. As such, jest-slow-test-reporter popularity was classified as popular.
We found that jest-slow-test-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.