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

@jamesacarr/jest-reporter-github-actions

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jamesacarr/jest-reporter-github-actions

Reporter for Jest that outputs GitHub Actions annotations

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
increased by85.71%
Maintainers
1
Weekly downloads
 
Created
Source

Jest Reporter for GitHub Actions

Test status NPM badge

A custom reporter for Jest that creates annotations when run via GitHub Actions

Installation

npm install -D @jamesacarr/jest-reporter-github-actions

Or, even better:

yarn add -D @jamesacarr/jest-reporter-github-actions

Usage

To get annotations working in your GitHub Actions runs, you need to setup Jest to use this reporter. You can do that by adding the following to your jest.config.js:

module.exports = {
  reporters: [
    'default',
    '@jamesacarr/jest-reporter-github-actions'
  ],
  testLocationInResults: true,
}

Or, you can simply run Jest with the following options:

jest --testLocationInResults --reporters=default --reporters=@jamesacarr/jest-reporter-github-actions

Keywords

FAQs

Package last updated on 14 Jan 2021

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