Skip to content

Commit 4e17081

Browse files
fix: tests
1 parent 9757366 commit 4e17081

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

__tests__/components/GameList.test.tsx

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -261,26 +261,4 @@ describe('GameList', () => {
261261
)
262262
})
263263
})
264-
265-
it('adjusts grid columns based on available tabs', async () => {
266-
const { rerender } = render(
267-
<AuthWrapper>
268-
<GameList />
269-
</AuthWrapper>,
270-
)
271-
272-
// With all 5 tabs (favorites, play, hb, custom, lichess)
273-
expect(document.querySelector('.grid-cols-5')).toBeInTheDocument()
274-
275-
// With only 3 tabs (favorites, play, hb)
276-
await act(async () => {
277-
rerender(
278-
<AuthWrapper>
279-
<GameList showCustom={false} showLichess={false} />
280-
</AuthWrapper>,
281-
)
282-
})
283-
284-
expect(document.querySelector('.grid-cols-3')).toBeInTheDocument()
285-
})
286264
})

0 commit comments

Comments
 (0)