Skip to content

Commit

Permalink
fixed syntax error on player test
Browse files Browse the repository at this point in the history
  • Loading branch information
shammy642 committed Oct 24, 2024
1 parent bf9277e commit fa58306
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/tests/numberGame/Player.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ describe('player', () => {
const player = new Player('17326746', 'Bob')
player.setIsHost()
expect(player.isHost).toEqual(true)
})

test('voteNextRound', () => {
const player = new Player('17326746', 'Bob')
player.voteNextRound()
expect(player.nextRound).toEqual(true)
})

test('setAvatar', () => {
const player = new Player('17326746', 'Bob')
player.setAvatar("avatar")
Expand Down

0 comments on commit fa58306

Please sign in to comment.