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

jest-html-reporters

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-html-reporters

Jest test results processor for generating a summary in HTML

  • 3.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
219K
increased by7.06%
Maintainers
1
Weekly downloads
 
Created

What is jest-html-reporters?

jest-html-reporters is a Jest test results processor that generates a customizable HTML report. It helps in visualizing test results in a more readable and accessible format.

What are jest-html-reporters's main functionalities?

Basic HTML Report Generation

This feature allows you to generate a basic HTML report of your Jest test results. The configuration specifies the output directory and filename for the report.

module.exports = { reporters: [ 'default', [ 'jest-html-reporters', { publicPath: './html-report', filename: 'report.html' } ] ] };

Customizable Report Title

You can customize the title of the HTML report by adding a 'title' property in the configuration.

module.exports = { reporters: [ 'default', [ 'jest-html-reporters', { publicPath: './html-report', filename: 'report.html', title: 'My Custom Report' } ] ] };

Include Console Logs

This feature allows you to include console logs in the HTML report, which can be useful for debugging purposes.

module.exports = { reporters: [ 'default', [ 'jest-html-reporters', { publicPath: './html-report', filename: 'report.html', includeConsoleLog: true } ] ] };

Custom Test Result Processor

You can add custom information to the report by using the 'customInfos' property. This can be useful for adding additional context or metadata to your test results.

module.exports = { reporters: [ 'default', [ 'jest-html-reporters', { publicPath: './html-report', filename: 'report.html', customInfos: [{ title: 'Custom Info', value: 'This is a custom info' }] } ] ] };

Other packages similar to jest-html-reporters

Keywords

FAQs

Package last updated on 26 Dec 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