From 32e17ac3c6754001707ae5128baeefdf406a3530 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Wed, 7 Jun 2023 17:33:21 +0800 Subject: [PATCH] chore: update test timeout --- components/__tests__/node.test.tsx | 2 +- tests/shared/demoTest.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/__tests__/node.test.tsx b/components/__tests__/node.test.tsx index d18c98156f..452abf2f25 100644 --- a/components/__tests__/node.test.tsx +++ b/components/__tests__/node.test.tsx @@ -49,7 +49,7 @@ describe('node', () => { renderToString(); }).not.toThrow(); }, - 15000, + 120000, ); }); }); diff --git a/tests/shared/demoTest.tsx b/tests/shared/demoTest.tsx index 45e51da338..2f3b74c08a 100644 --- a/tests/shared/demoTest.tsx +++ b/tests/shared/demoTest.tsx @@ -66,7 +66,7 @@ function baseText(doInject: boolean, component: string, options: Options = {}) { vi.clearAllTimers(); errSpy.mockRestore(); }, - 15000, + 120000, ); vi.useRealTimers(); });