js-testing-workshop
A set of exercises for teaching how to test JavaScript and React with Mocha
Prerequisites
- node.js
- Python 2.7 (for jsdom if testing from the CLI)
Getting started
- Clone this repository
- Run
npm install
- Run
npm run dev
- Open another terminal/cmd and run
npm run devtest
- Go to
http://localhost:8291/
in your browser