Closed therealsamf closed 6 years ago
We'll need to use utilize several tools to properly unit test our code
Mocha : Test runner. Utilizes Node.js
Enzyme : Testing framework for React components. React components can be a nuisance with just Mocha alone, but this framework makes it easy
SinonJS : Provides mocks and stubs, so we can test at the smallest level without depending on outside code
Chai : Assertion library for mocha. Plays well with sinon, enzyme, and mocha
We'll need to use utilize several tools to properly unit test our code
Mocha : Test runner. Utilizes Node.js
Enzyme : Testing framework for React components. React components can be a nuisance with just Mocha alone, but this framework makes it easy
SinonJS : Provides mocks and stubs, so we can test at the smallest level without depending on outside code
Chai : Assertion library for mocha. Plays well with sinon, enzyme, and mocha