Skip to content

sarmads96/robofriends-testing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robofriends-testing

To run the project:

  1. Clone this repo
  2. Run npm install
  3. Run npm start
  4. Run tests with npm test -- you may have to press "a" to run all tests

HEADS UP! Depending on your version of Jest, you may find that your snapshots aren't created properly (empty). This is a known issue and may require you to do the following: https://backbencher.dev/blog/empty-shallowwrapper-snapshot-jest-enzyme. I have included the code change mentioned in the article in this git repo to show you how to do this if you encounter the issue.

About

ZTM tutorial - adding tests to a react app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.8%
  • HTML 8.7%
  • CSS 2.5%