We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e68ab0f commit b45be68Copy full SHA for b45be68
__tests__/components/PlayerInfo.test.tsx
@@ -16,7 +16,7 @@ describe('PlayerInfo Component', () => {
16
it('should render player rating when provided', () => {
17
render(<PlayerInfo {...defaultProps} rating={1500} />)
18
19
- expect(screen.getByText('TestPlayer (1500)')).toBeInTheDocument()
+ expect(screen.getByText('(1500)')).toBeInTheDocument()
20
})
21
22
it('should not render rating when not provided', () => {
0 commit comments