fauxjax

Faux ajax requests for your javascript testing needs


Keywords
ajax, mock, fake, unit
License
MIT
Install
bower install fauxjax

Documentation

Fauxjax

Build Status Coverage Status

faux /fō/

Adjective meaning artificial, imitation or fake.

A jQuery plugin that provides the ability to mock ajax requests during testing and development.

Fauxjax is a rewrite of a subset of features offered by mockjax. While this library is a total rewrite, the majority of the credit still belongs to the authors and maintainers of mockjax.

🚨 Dependencies 🚨

Fauxjax requires jQuery 2.x it will not work with 1.X

Installation

bower install fauxjax

Documentation

Running the Fauxjax Tests Locally

If you have cloned this repository you can run the tests by doing the following

  • npm install
  • grunt test