Skip to content

Commit

Permalink
test(ui): Update sudo test for react 18 (#67275)
Browse files Browse the repository at this point in the history
  • Loading branch information
scttcper committed Mar 19, 2024
1 parent eceb12c commit 871522d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/app/views/organizationContext.spec.tsx
Expand Up @@ -199,7 +199,7 @@ describe('OrganizationContext', function () {

await waitFor(() => !OrganizationStore.getState().loading);

expect(openSudo).toHaveBeenCalled();
await waitFor(() => expect(openSudo).toHaveBeenCalled());
});

it('opens sudo modal for superusers on 403s', async function () {
Expand Down

0 comments on commit 871522d

Please sign in to comment.