issues
search
MasumaJaffery
/
World-Vista
JavaScript Capstone Group Project is about World Vista that based Countries around the globe to accommodate data about it by fetch API {Get and Post} Methods.
https://sensational-rugelach-399e47.netlify.app/
11
stars
2
forks
source link
Add test for reservation counter
#66
Closed
mohashyne
closed
1 year ago
mohashyne
commented
1 year ago
New features Added
[ ] Added reservationcounter.test.js file which includes the functions listed below:
[ ] Added test to return 1 when passed a reservationsList with one reservation
[ ] Added test to return the correct count when passed a reservationsList with multiple reservations
[ ] Added test to return 0 when passed an empty reservationsList
[ ] Added test to return the correct count when passed a reservationsList with duplicate reservations
[ ] Added test to throw an error when passed a null value
New features Added