mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-27 11:47:46 -07:00
Disallow floating promises. (#14605)
This commit is contained in:
committed by
GitHub
parent
8c90a1d855
commit
69ae42bb1f
@@ -23,6 +23,7 @@ describe('useLoadingIndicator', () => {
|
||||
|
||||
afterEach(() => {
|
||||
vi.useRealTimers(); // Restore real timers after each test
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
act(() => vi.runOnlyPendingTimers);
|
||||
vi.restoreAllMocks();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user