From bb47a4732a8b1a0fae0f9c0138b9e0cac40eb991 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 12:40:39 +0000 Subject: [PATCH] fix: ensure vi.useRealTimers() is always called in afterEach for update-dsl-modal tests Co-authored-by: hyoban <38493346+hyoban@users.noreply.github.com> --- .../components/rag-pipeline/components/update-dsl-modal.spec.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/rag-pipeline/components/update-dsl-modal.spec.tsx b/web/app/components/rag-pipeline/components/update-dsl-modal.spec.tsx index 317f2b19d4..5db7985914 100644 --- a/web/app/components/rag-pipeline/components/update-dsl-modal.spec.tsx +++ b/web/app/components/rag-pipeline/components/update-dsl-modal.spec.tsx @@ -137,6 +137,7 @@ vi.mock('@/app/components/workflow/constants', () => ({ afterEach(() => { cleanup() vi.clearAllMocks() + vi.useRealTimers() }) describe('UpdateDSLModal', () => {