Skip to content

Commit

Permalink
fix some more test
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Aug 27, 2024
1 parent 9d23313 commit e45ecbd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ describe('<Checkbox />', () => {
await waitFor(() => {
expect(screen.queryByText('unchecked')).toBeInTheDocument()
})
expect(
userEvent.click(screen.getByText('checkbox-label')),
).rejects.toThrow()
await waitFor(() => {
expect(screen.queryByText('unchecked')).toBeInTheDocument()
})
})

it('should pass a ref down', async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ describe('<Radio />', () => {
await waitFor(() => {
expect(screen.queryByText('unchecked')).toBeInTheDocument()
})
expect(userEvent.click(screen.getByText('radio-label'))).rejects.toThrow()
await waitFor(() => {
expect(screen.queryByText('unchecked')).toBeInTheDocument()
})
})

it('should pass a ref down', async () => {
Expand Down

0 comments on commit e45ecbd

Please sign in to comment.