Skip to content

mattcvincent/react-tdd-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A TDD example using React, Karma, PhantomJS, Jasmine, and Sinon.

Setup instructions:

git clone git@github.com:sourceallies/react-tdd-example.git
cd react-tdd-example
npm install

To build the bundle:

npm run build

To run tests:

npm test

Each "feature" is added in two separate commits. The first commit, prefixed with "Failing", adds the failing test for the feature. The second commit, prefixed with "Passing", implements the feature, causing the previously failing test to pass.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • HTML 3.6%