Skip to content

Commit b45be68

Browse files
fix: test errors
1 parent e68ab0f commit b45be68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/components/PlayerInfo.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('PlayerInfo Component', () => {
1616
it('should render player rating when provided', () => {
1717
render(<PlayerInfo {...defaultProps} rating={1500} />)
1818

19-
expect(screen.getByText('TestPlayer (1500)')).toBeInTheDocument()
19+
expect(screen.getByText('(1500)')).toBeInTheDocument()
2020
})
2121

2222
it('should not render rating when not provided', () => {

0 commit comments

Comments
 (0)