Skip to content

Commit 52d9d50

Browse files
committed
Bump timeout for all UI tests [ci]
Seems like some ui tests run slower in ci. It's random so maybe a resource thing. I noticed in the docs that there's a new beta feature that sets browser tests to have a 15s timeout. I dont want to use a beta feature so I'm just manually bumping the global timeout here to 15_000ms https://vitest.dev/config/#testtimeout https://vitest.dev/guide/browser/ Signed-off-by: fayi-da <fayimora.femibalogun@digitalasset.com>
1 parent f333d10 commit 52d9d50

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
export const vitest_common_conf = {
22
test: {
3+
disableConsoleIntercept: true,
34
environment: 'happy-dom',
4-
typecheck: {
5-
include: ['**/*.{test,spec}-d.?(c|m)[jt]s?(x)', '**/*.{test,spec}.?(c|m)[jt]s?(x)'],
6-
},
75
exclude: ['../lib/**'],
6+
include: ['**/*.{test,spec}-d.?(c|m)[jt]s?(x)', '**/*.{test,spec}.?(c|m)[jt]s?(x)'],
87
silent: false,
9-
disableConsoleIntercept: true,
8+
testTimeout: 15000,
9+
typecheck: {},
1010
},
1111
};

0 commit comments

Comments
 (0)