TDD in ES6 and React Examples Written for Learn JavaScript with Eric Elliott. Examples The 5 Questions: Basic Unit Test Dependency Injection Nesting example: Component --> Context --> Results Unit Tests vs Integration: Filesystem Isolation Integration test example: Load config file Unit test example: Merge config React Component Example Testing render correctness Testing event handlers Pure action fixtures Creating isolated DOM in Node Query live components with TestUtils