diff options
| author | BigUncle <[email protected]> | 2025-07-06 05:58:51 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-05 21:58:51 +0000 |
| commit | b564d4a088d11ae5a90291e642b104761d72ee61 (patch) | |
| tree | 2423d004716aa77f05e55b019fe652a18d539f1d /packages/cli/src/ui/hooks/useLoadingIndicator.test.ts | |
| parent | 5c9372372c73afcff893499e538cf5522a4400e2 (diff) | |
fix(core): Sanitize tool parameters to fix 400 API errors (#3300)
Diffstat (limited to 'packages/cli/src/ui/hooks/useLoadingIndicator.test.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/useLoadingIndicator.test.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/cli/src/ui/hooks/useLoadingIndicator.test.ts b/packages/cli/src/ui/hooks/useLoadingIndicator.test.ts index 5c1d44ef..039b1bff 100644 --- a/packages/cli/src/ui/hooks/useLoadingIndicator.test.ts +++ b/packages/cli/src/ui/hooks/useLoadingIndicator.test.ts @@ -41,14 +41,12 @@ describe('useLoadingIndicator', () => { expect(WITTY_LOADING_PHRASES).toContain( result.current.currentLoadingPhrase, ); - const initialPhrase = result.current.currentLoadingPhrase; await act(async () => { await vi.advanceTimersByTimeAsync(PHRASE_CHANGE_INTERVAL_MS + 1); }); // Phrase should cycle if PHRASE_CHANGE_INTERVAL_MS has passed - expect(result.current.currentLoadingPhrase).not.toBe(initialPhrase); expect(WITTY_LOADING_PHRASES).toContain( result.current.currentLoadingPhrase, ); |
