NSS-Day-Cohort-42 / ktk-truncheons-and-flagons

1 stars 1 forks source link

Je score provider #37

Closed skratz17 closed 4 years ago

skratz17 commented 4 years ago
  1. Verify that code has been implemented in ScoreProvider.js to save scores, and that it is specifically exporting a function saveScores that accepts an array of three scores, and will POST each of the score objects in that array to the DB.
  2. Verify that scores are saved to the database for a game only after the user clicks the "Save Round Score" button in ScoreForm.js for the third time.
  3. After providing scores for each team across three rounds, verify that the total score for the game for each team was actually saved to the database.json file.