Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

vladkosinov/karma-chai-as-promised

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'],
    plugins: [ ... , 'karma-chai-as-promised']
    #...
  });
}

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

About

A Karma plugin - adapter for chai-as-promised

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published