export SAUCE_USERNAME=<SAUCE_USERNAME>
export SAUCE_ACCESS_KEY=<SAUCE_ACCESS_KEY>
npm install -g grunt-cli
In this tutorial directory (there should be a package.json
file) run:
npm install
- The mocha test suite is in
tests/sample-spec.js
- The parallel runner is in
Gruntfile.js
grunt
Go here to view the tests.