Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmurray-codecov committed May 2, 2024
1 parent 4cfd5bc commit 3191ae6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/ui/RadioTileGroup/RadioTileGroup.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import {
render,
screen,
waitForElementToBeRemoved,
} from '@testing-library/react'
import { render, screen } from '@testing-library/react'
import { userEvent } from '@testing-library/user-event'

import { RadioTileGroup } from './RadioTileGroup'
Expand Down Expand Up @@ -69,9 +65,7 @@ describe('RadioTileGroup', () => {
const selected = await screen.findByTestId('radio-button-circle-selected')
expect(selected).toBeInTheDocument()

await user.click(tile2)

await waitForElementToBeRemoved(selected)
await user.click(tile2) //asdf

expect(selected).not.toBeInTheDocument()

Expand Down

0 comments on commit 3191ae6

Please sign in to comment.