diff options
| author | N. Taylor Mullen <[email protected]> | 2025-06-15 16:05:40 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-15 16:05:40 -0700 |
| commit | 4463671284a41822b84ad4a2ecedbf007c078491 (patch) | |
| tree | 9e6cd2ee3e062d339ec03921e6c7ddb601697342 /packages/cli/src/ui/hooks/usePhraseCycler.test.ts | |
| parent | 101b6fe767eba2063687ec30797e729decf3f6db (diff) | |
refactor(cli): Use excludeTools for non-interactive mode (#1072)
Diffstat (limited to 'packages/cli/src/ui/hooks/usePhraseCycler.test.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/usePhraseCycler.test.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/cli/src/ui/hooks/usePhraseCycler.test.ts b/packages/cli/src/ui/hooks/usePhraseCycler.test.ts index fca5970f..acabf2c0 100644 --- a/packages/cli/src/ui/hooks/usePhraseCycler.test.ts +++ b/packages/cli/src/ui/hooks/usePhraseCycler.test.ts @@ -87,7 +87,9 @@ describe('usePhraseCycler', () => { expect(result.current).toBe(WITTY_LOADING_PHRASES[0]); // Set back to active - should pick a random witty phrase - rerender({ isActive: true, isWaiting: false }); + act(() => { + rerender({ isActive: true, isWaiting: false }); + }); expect(WITTY_LOADING_PHRASES).toContain(result.current); }); |
