Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fgandellini committed Jun 9, 2024
1 parent 24e7cae commit 42cec69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/react/src/components/board/Tile.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ describe('Tile', () => {

expect(container.getElementsByClassName('tile').length).toBe(1)
expect(container.getElementsByClassName('tile').item(0)).toHaveStyle({
backgroundColor: '#080808',
borderColor: '#080808',
backgroundColor: '#101010',
borderColor: '#101010',
})
expect(container.getElementsByClassName('tile').item(0)).toHaveTextContent(
'',
Expand All @@ -33,7 +33,6 @@ describe('Tile', () => {
expect(container.getElementsByClassName('tile').length).toBe(1)
expect(container.getElementsByClassName('tile').item(0)).toHaveStyle({
borderColor: '#108e5a',
fontSize: 'xx-large',
})
expect(screen.getByText('🌿')).toBeInTheDocument()
})
Expand Down

0 comments on commit 42cec69

Please sign in to comment.