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

karma-spec-json-reporter

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

karma-spec-json-reporter

A Karma JSON reporter for specs

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-80.95%
Maintainers
1
Weekly downloads
 
Created
Source

Karma JSON spec reporter

This is a karma reporter that will export your test data in the form of JSON but keys all describe contexts such as:

{
    "My Feature": {
        "should have a passing test": "PASSED",
        "might have a failing test": "FAILED"
    },
    "My Other Feature": {
      "should also have a passing test": "PASSED"
    }
}


Installation

npm install --save-dev karma-spec-json-reporter

In your karma.conf.js add include 'specjson' to your reporters like below:

reporters: ['specjson', 'dots'],

You will also need to set the location that you need to output your JSON file.

    specjsonReporter: {
        outputFile: "karma-specs.json"
    }

Keywords

FAQs

Package last updated on 09 Jun 2014

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