Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileyJames committed Jul 18, 2021
1 parent 0c07230 commit 1a6994d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/players/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("Players higher order component: withPlayers", () => {
test("Host is wrapped", () => {
const state = { players: { list: [], minPlayers: 2 } }
const { getByRole } = render(<GameWithPlayers.Host roomId="room-id" state={state}></GameWithPlayers.Host>)
expect(getByRole('heading')).toHaveTextContent("Join: room-id")
expect(getByRole('heading')).toHaveTextContent("room-id")
})

test("Guest returns children", () => {
Expand Down

0 comments on commit 1a6994d

Please sign in to comment.