Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Unit Testing For React Component

Unit Testing For React Component

camcam_lemon

February 22, 2018
Tweet

More Decks by camcam_lemon

Other Decks in Programming

Transcript

  1. Use Testing Tools Testing framework - mocha Coverage - nyc

    - istanbul Assertion - power-assert Test helper - jsdom - enzyme - sinon - testdouble.js - fetch-mock
  2. Use Testing Tools Testing framework - mocha Coverage - nyc

    - istanbul Assertion - power-assert Test helper - jsdom - enzyme - sinon - testdouble.js - fetch-mock