Skip to content

Commit 37a7ff6

Browse files
Update packages/react/src/UnderlineNav/UnderlineNav.test.tsx
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
1 parent ae65fed commit 37a7ff6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/UnderlineNav/UnderlineNav.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ describe('UnderlineNav', () => {
206206
)
207207
const item = screen.getByRole('link', {name: 'Item 1'})
208208
expect(item).toHaveClass('custom-class')
209-
expect(item).toHaveClass('UnderlineItem')
209+
expect(item.className).toContain('UnderlineItem')
210210
})
211211
})
212212

0 commit comments

Comments
 (0)