chore: set up jest for testing the UI #13
Reference in New Issue
Block a user
Delete Branch "chore/set-up-testing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added jest and the react testing library to the project and configured them. Jest, the React Testing Library, and other dependencies have been added as dev-dependencies to make sure they aren't included in a production build.
I also included an example test for the counter component, so you can run npx jest to verify that tests run properly. Before running npx jest, make sure to update your installed dependencies using "npm install".
ref: N25B-212
assigned to @j.gerla
mentioned in commit
6c5ccbdd07