Skip to content

Commit ed01e82

Browse files
authored
change timeout (#268)
1 parent fad888a commit ed01e82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.vscode-test.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const baseConfig = /** @type {Parameters<typeof defineConfig>[0]} */ ({
44
extensionDevelopmentPath: 'packages/vscode',
55
version: process.env.VSCODE_VERSION ?? 'stable',
66
mocha: {
7-
timeout: 10000,
7+
timeout: 30_000,
88
require: ['tsx/cjs', './scripts/vscode-test-setup.ts'],
99
},
1010
download: {

packages/vscode/vscode-test/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export async function waitFor<T>(
1010
testFn: () => Promise<T>,
1111
options?: { timeout: number; interval: number },
1212
): Promise<T> {
13-
const timeout = options?.timeout ?? 5000;
13+
const timeout = options?.timeout ?? 10_000;
1414
const interval = options?.interval ?? 50;
1515
const endTime = Date.now() + timeout;
1616

0 commit comments

Comments
 (0)