Wondering what’s next for npm?Check out our public roadmap! »

    karma-chai-as-promised

    0.1.2 • Public • Published

    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

    Install

    npm i karma-chai-as-promised

    DownloadsWeekly Downloads

    2,602

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • avatar