camwest / jquery-simulate

jQuery Event Unit Testing Helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jQuery.simulate()

How to build and test jQuery Simulate

First, get a copy of the git repo by running:

git clone git://github.com/jquery/jquery-simulate.git

Enter the directory and install the node dependencies:

cd jquery-simulate && npm install

Make sure you have grunt installed by testing:

grunt -version

If not, run:

npm install -g grunt

To run tests locally, run grunt, and this will run the tests in PhantomJS.

You can also run the tests in a browser by navigating to the test/ directory, but first run grunt to install submodules.

About

jQuery Event Unit Testing Helpers

License:Other