refactor(cli): Use excludeTools for non-interactive mode (#1072)

This commit is contained in:
N. Taylor Mullen
2025-06-15 16:05:40 -07:00
committed by GitHub
parent 101b6fe767
commit 4463671284
3 changed files with 14 additions and 29 deletions

View File

@@ -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);
});