Socket
Socket
Sign inDemoInstall

@neuralegion/mocha-nexmock-reporter

Package Overview
Dependencies
71
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @neuralegion/mocha-nexmock-reporter

The reporter for saving request mocks to file.


Version published
Weekly downloads
2
Maintainers
2
Created
Weekly downloads
 

Readme

Source

mocha-nexmock-reporter

The reporter for saving request mocks to file.

Installation

The easiest way is to keep mocha-nexmock-reporter as a devDependency in your package.json.

{
  "devDependencies": {
    "mocha": "~1.3.0",
    "@neuralegion/nexmock": "~1.0",
    "@neuralegion/mocha-nexmock-reporter": "~1.0"
  }
}

You can simple do it by:

npm install @neuralegion/mocha-nexmock-reporter --save-dev

Configuration

module.exports = {
    reporter: '@neuralegion/mocha-nexmock-reporter',
    reporterOptions: {
      path: "./.nexmock"
    }
};

You can pass list of reporters as a CLI argument too:

mocha --reporter @neuralegion/mocha-nexmock-reporter --reporter-options path=./.nexmock

Keywords

FAQs

Last updated on 11 Sep 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc