Socket
Socket
Sign inDemoInstall

karma-chai-as-promised

Package Overview
Dependencies
146
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    karma-chai-as-promised

Chai-as-promised plugin for karma


Version published
Weekly downloads
2.8K
increased by16.55%
Maintainers
1
Install size
16.9 kB
Created
Weekly downloads
 

Readme

Source

karma-chai-as-promised

NPM version Dependency Status

chai-as-promised plugin for karma

Installation

$ npm install karma-chai-as-promised --save-dev

Requirements

This plugin has two peerDependencies with * requirement versions:

Karma and Chai versions will be resolved by these plug-ins respectively

Usage

Add chai-as-promised to the frameworks array in your Karma configuration:

module.exports = function(config) {
  'use strict';
  config.set({
    frameworks: ['mocha', 'chai-as-promised', 'chai'],
    #...
  });
}

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

License

MIT

Keywords

FAQs

Last updated on 29 Mar 2015

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