Skip to content

Commit f49c386

Browse files
committed
remove unnecessary timeout from test
1 parent 6015e5d commit f49c386

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/ra-core/src/auth/useLogoutIfAccessDenied.spec.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,5 @@ describe('useLogoutIfAccessDenied', () => {
287287
});
288288
expect(notify).toHaveBeenCalledTimes(1);
289289
});
290-
await waitFor(() => {
291-
expect(screen.queryByText('Login page')).toBeNull();
292-
}, {
293-
timeout: 2000
294-
});
295290
});
296291
});

0 commit comments

Comments
 (0)