Skip to content

Commit 74e22f4

Browse files
committed
Update slow tests
1 parent f2a58b2 commit 74e22f4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/buildtools/src/build/docs/json.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,5 @@ export const {
129129
} catch (error) {
130130
return [createEntry('error', `${error}`)];
131131
}
132-
});
132+
}
133+
);

lib/buildtools/src/prebuild/__tests__/tsc.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ vi.mock(import('typescript'), async importOriginal => {
3131
});
3232

3333
describe('Test the augmented tsc functionality', () => {
34-
test('tsc on a bundle', async () => {
34+
test('tsc on a bundle', { timeout: 10000 }, async () => {
3535
await runTsc({
3636
type: 'bundle',
3737
directory: `${testMocksDir}/bundles/test0`,
@@ -46,7 +46,7 @@ describe('Test the augmented tsc functionality', () => {
4646
expect(writePath).not.toEqual(`${testMocksDir}/bundles/test0/__tests__/test0.test.js`,);
4747
});
4848

49-
test('tsc on a bundle with --noEmit', async () => {
49+
test('tsc on a bundle with --noEmit', { timeout: 10000 }, async () => {
5050
await runTsc({
5151
type: 'bundle',
5252
directory: `${testMocksDir}/bundles/test0`,

0 commit comments

Comments
 (0)