Socket
Socket
Sign inDemoInstall

karma-sinon-stub-promise

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-sinon-stub-promise

Karma plugin for sinon-stub-promise


Version published
Weekly downloads
139
decreased by-31.86%
Maintainers
1
Weekly downloads
 
Created
Source

karma-sinon-stub-promise

A Karma plugin for sinon-stub-promise

npm Dependency Status devDependency Status

Installation

npm install karma-sinon-stub-promise --save-dev

Requirements

This plugin has two peerDependencies with * requirement versions:

Usage

Add sinon-stub-promise to the frameworks array in your Karma configuration:

module.exports = function(config) {
  'use strict';
  config.set({
    frameworks: ['mocha', 'sinon-stub-promise', 'sinon-chai', 'chai'],
    plugins: [ ... , 'karma-sinon-stub-promise']
    #...
  });
}

Keep in mind that, since Karma loads its frameworks in reverse and sinon-stub-promise depends on sinon-chai, you should declare it accordingly as done above.

Contributing

If you like this/find it useful/find a bug please open an issue and, better yet, submit a Pull Request! ☺ Any and all help appreciated, thanks!


No rights reserved. Made with ♥ by Alex Weber

Keywords

FAQs

Package last updated on 24 Nov 2015

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