Skip to content

Commit

Permalink
Fix async coverage flake
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmurray-codecov committed Oct 10, 2024
1 parent d1cc7b3 commit 21228f1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ describe('CurrentOrgPlan', () => {
} as z.infer<typeof AccountDetailsSchema>,
})
render(<CurrentOrgPlan />, { wrapper: noUpdatedPlanWrapper })
const currentPlanCard = await screen.findByText(/CurrentPlanCard/i)
expect(currentPlanCard).toBeInTheDocument()

expect(
screen.queryByText('Plan successfully updated.')
).not.toBeInTheDocument()
Expand Down

0 comments on commit 21228f1

Please sign in to comment.