Skip to content

A Karma plugin - Additional jquery matchers for the Jasmine BDD JavaScript testing library.

License

Notifications You must be signed in to change notification settings

Moulino/karma-jasmine-jquery-matchers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-jasmine-jquery-matchers

A Karma plugin to inject Jasmine-Jquery for Jasmine.

Installation

The easiest way to install `karma-jasmine-jquery-matchers' is via Npm:

npm install karma-jasmine-jquery-matchers --save-dev

Configuration

You must include 'jasmine-jquery-matchers' in the frameworks section of your config :

    module.exports = function(config) {
        config.set({
            frameworks: [
                'jasmine',
                'jasmine-jquery-matchers'
            ],
            files: [
                'src/**/*.js',
                'src/**/*.spec.js'
            ]
        });
    };

Available matchers

The list of available matchers is available here

Dependencies

The plugin is to be used with jasmine v2.0.0+. It uses the library jQuery 2.0.

About

A Karma plugin - Additional jquery matchers for the Jasmine BDD JavaScript testing library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published