refactor: Move tagging logic to a separate script

This commit is contained in:
mkorwel
2025-07-04 12:31:46 -07:00
parent d0ccf2f926
commit 23eea823d0
4 changed files with 60 additions and 3 deletions
@@ -44,7 +44,7 @@ describe('useLoadingIndicator', () => {
const initialPhrase = result.current.currentLoadingPhrase;
await act(async () => {
await vi.advanceTimersByTimeAsync(PHRASE_CHANGE_INTERVAL_MS);
await vi.advanceTimersByTimeAsync(PHRASE_CHANGE_INTERVAL_MS + 1);
});
// Phrase should cycle if PHRASE_CHANGE_INTERVAL_MS has passed