/js-testing-workshop

A set of exercises for teaching how to test JavaScript and React with Mocha

Primary LanguageJavaScriptMIT LicenseMIT

js-testing-workshop

A set of exercises for teaching how to test JavaScript and React with Mocha

Prerequisites

  1. node.js
  2. Python 2.7 (for jsdom if testing from the CLI)

Getting started

  1. Clone this repository
  2. Run npm install
  3. Run npm run dev
  4. Open another terminal/cmd and run npm run devtest
  5. Go to http://localhost:8291/ in your browser