karma-jasmine-ajax

0.1.13 • Public • Published

karma-jasmine-ajax

Karma adapter for Jasmine plugin for faking Ajax responses in your tests.

Installation

$ npm install karma-jasmine-ajax --save-dev

Add jasmine-ajax to the frameworks key in your Karma configuration, before jasmine:

module.exports = function(config) {
  config.set({
    frameworks: ['jasmine-ajax', 'jasmine'],
    plugins: [karma-jasmine-ajax]
  });
}

Usage

Please see https://github.com/pivotal/jasmine-ajax for details how to use jasmine-ajax

Dependents (9)

Package Sidebar

Install

npm i karma-jasmine-ajax

Weekly Downloads

12,549

Version

0.1.13

License

MIT

Last publish

Collaborators

  • pdeegan1