{"id":18451,"library":"jest-slow-test-highlighter","title":"jest-slow-test-highlighter","description":"A custom Jest reporter that identifies and reports on the slowest running tests in your test suite. Current stable version is 1.0.2. Release cadence is low, single maintainer. Key differentiator: simple configuration with maxTests and slowSeconds options, integrates seamlessly as a Jest reporter. No major updates since initial release.","status":"active","version":"1.0.2","language":"javascript","source_language":"en","source_url":"https://github.com/Neizan93/jest-slow-test-highlighter","tags":["javascript","jest","slow-tests","reporter","performance"],"install":[{"cmd":"npm install jest-slow-test-highlighter","lang":"bash","label":"npm"},{"cmd":"yarn add jest-slow-test-highlighter","lang":"bash","label":"yarn"},{"cmd":"pnpm add jest-slow-test-highlighter","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; version ^30.1.3 required","package":"jest","optional":false}],"imports":[{"note":"This is a Jest reporter, not imported in test files. Add to jest.config.js reporters array.","wrong":"Using require() in test file: const reporter = require('jest-slow-test-highlighter')","symbol":"jest-slow-test-highlighter","correct":"Added to jest config: reporters: ['default', 'jest-slow-test-highlighter']"}],"quickstart":{"code":"npm install jest-slow-test-highlighter --save-dev\n\n// jest.config.js\nmodule.exports = {\n  reporters: [\n    'default',\n    ['jest-slow-test-highlighter', { maxTests: 5, slowSeconds: 2 }]\n  ]\n};","lang":"javascript","description":"Installs the package and configures Jest to use the reporter with custom settings."},"warnings":[{"fix":"Upgrade Jest to ^30.1.3 or later.","message":"Requires Jest version ^30.1.3; incompatible with older Jest versions.","severity":"gotcha","affected_versions":"1.0.0 - 1.0.2"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Ensure reporters array uses correct string or tuple format: ['jest-slow-test-highlighter', {...}]","cause":"Misconfigured reporters array; reporter is not found or wrong format.","error":"TypeError: reporters[1] is not a function or string"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}