Browse Source

chore: update test timeout

pull/42899/head
MadCcc 1 year ago
parent
commit
32e17ac3c6
  1. 2
      components/__tests__/node.test.tsx
  2. 2
      tests/shared/demoTest.tsx

2
components/__tests__/node.test.tsx

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

2
tests/shared/demoTest.tsx

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

Loading…
Cancel
Save