Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.06 KB

File metadata and controls

38 lines (30 loc) · 1.06 KB

CF LAB

React Testing and Deployment

Author: Melissa Stock

Links and Resources

Documentation

  • run npx styleguidist server

Modules

header.js

footer.js

counter.js

Running the app

  • npm start

Tests

  • How do you run tests? npm run test
  • What assertions were made?
    • On the Counter module:
      • basic rendering
      • increment counter
      • decrement counter
      • snapshot matches (DOM rendering matches)
  • What assertions need to be / should be made?
    • All tests on Header and Footer modules.

UML

Component Based UI UML