├── .babelrc ├── .gitignore └── README.md /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react", "stage-2", "es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | npm-debug.log 3 | node_modules/ 4 | dist/ 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![course image](https://d2eip9sf3oo6c2.cloudfront.net/series/covers/000/000/027/full/course_banner.png?1457396286) 2 | 3 | # React Testing Cookbook 4 | 5 | The definition of "legacy code" can be described simply as "code that doesn't have tests." Code you just wrote, 5 minutes ago? Legacy code. Code that can't be refactored, but only changed. 6 | 7 | How do we prevent the mountain of legacy code that most projects become? 8 | 9 | A solid testing strategy. 10 | 11 | React apps are no different, and can be tested simply if you know some core principles. 12 | 13 | In this course we will take a look at testing React applications. From getting setup and running tests, all the way through testing Redux enabled React applications. --------------------------------------------------------------------------------