Skip to content

Commit cd3809b

Browse files
committed
test: increase vitest timeout
1 parent ba20681 commit cd3809b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sandbox/codegen/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Vue from '@vitejs/plugin-vue'
44
import preact from '@preact/preset-vite'
55
import vueJsx from '@vitejs/plugin-vue-jsx'
66
import { UserConfig } from 'vite'
7-
import { UserConfig as TestUserConfig } from 'vitest'
7+
import type { UserConfig as TestUserConfig } from 'vitest/node'
88

99
import { createRequire } from 'module'
1010

vitest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default defineConfig({
88
plugins: [tsconfigPaths()],
99
test: {
1010
globals: true,
11+
testTimeout: 15_000,
1112
setupFiles: ['tests-setup.ts'],
1213
hideSkippedTests: true,
1314
environment: 'happy-dom',

0 commit comments

Comments
 (0)