chore: update test timeout

This commit is contained in:
MadCcc 2023-06-07 17:33:21 +08:00
parent 243704330b
commit 32e17ac3c6
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ describe('node', () => {
renderToString(<Demo />);
}).not.toThrow();
},
15000,
120000,
);
});
});

View File

@ -66,7 +66,7 @@ function baseText(doInject: boolean, component: string, options: Options = {}) {
vi.clearAllTimers();
errSpy.mockRestore();
},
15000,
120000,
);
vi.useRealTimers();
});