Skip to content

Instantly share code, notes, and snippets.

@Cst2989
Created October 22, 2021 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cst2989/a0c039c7308a751bd94398973ccb947e to your computer and use it in GitHub Desktop.
Save Cst2989/a0c039c7308a751bd94398973ccb947e to your computer and use it in GitHub Desktop.
double stirke
test('it should return total score when we have consecutive strikes', () => {
const scoreCard = '/2XX2222/2'
const totalScore = totalScore(scoreCard);
expect(totalScore).toBe(67);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment