chore: set up jest for testing the UI #13

Merged
j.gerla merged 1 commits from chore/set-up-testing into dev 2025-10-22 07:37:55 +00:00
j.gerla commented 2025-10-21 20:25:16 +00:00 (Migrated from git.science.uu.nl)

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

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](https://utrechtuniversity.youtrack.cloud/issue/N25B-212)
j.gerla commented 2025-10-21 20:25:16 +00:00 (Migrated from git.science.uu.nl)

assigned to @j.gerla

assigned to @j.gerla
j.gerla (Migrated from git.science.uu.nl) changed target branch from main to dev 2025-10-21 20:31:50 +00:00
0950726 (Migrated from git.science.uu.nl) merged commit 6c5ccbdd07 into dev 2025-10-22 07:37:55 +00:00
0950726 commented 2025-10-22 07:37:56 +00:00 (Migrated from git.science.uu.nl)

mentioned in commit 6c5ccbdd07

mentioned in commit 6c5ccbdd074b223313d23e1912ad14d67d3336c9
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pepperplus/pepperplus-ui#13