Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.04 KB

README.md

File metadata and controls

52 lines (31 loc) · 1.04 KB

TDD with React and ES6

Completed Labs for TDD with React and ES6 by Chris Minnick

About the Repo

You can clone the entire repository by running the command:

git clone https://github.com/watzthisco/tdd-react-es6-labs

This will create a new directory called tdd-react-es6-labs. Changing into this directory with this command:

cd tdd-react-es6-labs

Each lab in the course (starting with Lab 6) is in its own branch. The branches are named in labxx format. To see the finished files for Lab 6, for example, run this command:

git checkout lab06

Installation

  1. Install Node
  2. Install git
  3. In the console, type: npm install

Usage

Building

  1. gulp build

Testing

To Lint:

Use 'gulp jshint' for JSHint Use 'gulp eslint' for ESLint

Run unit tests in Karma

  1. Start Karma server: gulp karma
  2. Open some browsers and go to http://localhost:9876 in each
  3. gulp test

Run unit tests in the console:

  1. gulp jasmine

Credits

written by Chris Minnick, copyright 2016, WatzThis?

License

http://creativecommons.org/licenses/by-nc/4.0