Skip to content

Ziticca/karma-dirty-chai

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

karma-dirty-chai

for Karma

Requirements

This Karma plugin requires Karma >=0.10

Installation

Install the module via npm

$ npm install --save-dev karma-dirty-chai

Add dirty-chai to the frameworks key in your Karma configuration:

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

Usage

Each of the function form assertions from dirty-chai will now available in your tests using the expect or should syntax.

About

A karma adapter for the dirty-chai plugin.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%