Faux ajax requests for your javascript testing needs
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
test
.gitignore
.travis.yml
Gruntfile.coffee
LICENSE.txt
README.md
bower.json
karma.conf.js
package.json

README.md

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