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

mocha-cta-reporter

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-cta-reporter

CTA reporter for Mocha

  • 0.0.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Brought to you by @Vladimir-Clausse and @michelsalib from an initial contribution by @kiettisak-angkanawin.

NPM version

###Install

npm install --save-dev mocha-cta-reporter

###Usage

mocha --reporter mocha-cta-reporter --no-exit

The --no-exit flag is important, as the reporter works asynchronously mocha should not stop it.

###Configuration

You can provide additional configuration to the reporter so it additionally report the test status to Github:

keydescription
accessTokenaccess token so it can connect to github API, it needs at least repo write access
githubReponame of the github repo
shaThe hash of the commit
proxyAn optional proxy it should use to connect to github API
urlThe url github should reference back to when displaying the test status

Example:

mocha --no-exit -R mocha-cta-reporter -O accessToken=myaccesstoken,githubRepo=thomsonreuters/news-services,sha=abcdefg,proxy=http://webproxy.lon.corp.services:80,url=https://compass.thomsonreuters.com/test/#/run/132456789

Keywords

FAQs

Package last updated on 09 Aug 2016

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