Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

OUTDATED!!! --> Use Jest, it's great :-)

This starter kit goes with a blog post I wrote on how to set up TDD React environment. The blog post can be found here.

Goal: Goal of this starter kit is just to act as an example of a pretty robust testing environment for React.

Getting Started

git clone git@github.com:SpencerCDixon/react-testing-starter-kit.git myProject
cd myProject

nvm use 5.1.0    # make sure to use v4 or greater
npm install

# open split terminal window
npm run dev      # get webpack server running
npm run dev:test # to get karma test server going

Note The webpack config in this project is not out of the box ready for production. You will want to set up Plugins like UglifyJS and a compile script that compiles webpack in production mode.

Tooling

This starter kit uses:

  • Mocha
  • Chai
  • Sinon
  • Enzyme
  • Karma
  • Webpack

About

React/Webpack react starter kit to get up and going with TDD quickly. Uses Chai, Mocha, Sinon, Enzyme, and Karma. OUTDATED --> Use Jest!

Resources

Releases

No releases published
You can’t perform that action at this time.