Skip to content

Commit

Permalink
test: fix starting test await
Browse files Browse the repository at this point in the history
  • Loading branch information
calvin-codecov committed Jan 15, 2025
1 parent b51a8bd commit 8fec093
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/layouts/BaseLayout/hooks/useUserAccessGate.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,6 @@ describe('useUserAccessGate', () => {
wrapper: wrapper(),
})

await waitFor(() => result.current.isLoading)

expect(result.current).toStrictEqual(expected.beforeSettled)

await waitFor(() => result.current.isLoading)
Expand Down

0 comments on commit 8fec093

Please sign in to comment.