cejimenez0123 / fitness-tracker

https://fitness-tracker-green.vercel.app
0 stars 0 forks source link

Create Unit Test for Adding Sets to an Exercise Instance #32

Open cejimenez0123 opened 5 months ago

cejimenez0123 commented 5 months ago

Description

We need to implement a unit test that verifies sets can be added to an exercise instance correctly. Task

Create a unit test that:

Requirements

The unit test should be placed in the appropriate test directory. Use Jest Ensure that all necessary setup and teardown steps are included. The test should cover at least the following scenarios: Adding a single set to an exercise. Adding multiple sets to an exercise.

Acceptance Criteria

A new unit test file is created in the test directory. The test correctly adds sets to an activity The test verifies that the sets are correctly associated with the activity. The test passes without any errors.