Skip to content

CodeCoachJS/user_table_needs_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Run npm install && npm start to start the project

Watch 📼 && Read:

https://www.loom.com/share/66659daa6a6b48d7b1363d227dcfe838

https://www.loom.com/share/a6d479e43fc84c68bfc8e64fa26f1d9e

https://docs.github.com/en/actions/using-workflows/about-workflows

Todo

There is a UserTable component which includes a small form to add a new user to a table of users.

There is one issue: There are NO tests!!!

Add tests using @testing-library and make sure the coverage is met by running npm run coverage

There is a file main.yml which has the basic definition for running tests in a Github pipeline. Either fork this repo OR create your own repo and use this yml file to ensure your tests are passing as expected when a user pushes a commit to the master branch.

Make the main.yml file your own! Perphaps you want to run tests on other branches as well or... whatever!

Testing

Add tests using @testing-library and make sure the coverage threshold is met by running

npm run coverage

About

Add tests using testing-library to meet the coverage threshold

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published