Skip to content

Commit

Permalink
my bad bro
Browse files Browse the repository at this point in the history
  • Loading branch information
RulaKhaled committed Mar 19, 2024
1 parent fdf1a3f commit 956010b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,11 @@ describe('useMyOrganizations', () => {
await waitFor(() => !result.current.isLoading)
await waitFor(() => expect(result.current.isSuccess).toBeFalsy())

expect(thrownMock).toHaveBeenCalledWith(
'POST /graphql/gh net::ERR_FAILED'
await waitFor(() =>
expect(thrownMock).toHaveBeenCalledWith(
'POST /graphql/gh net::ERR_FAILED'
)
)
expect(result.current.data).toBeUndefined()
})
})
})
Expand Down

0 comments on commit 956010b

Please sign in to comment.