Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Increase default test timeout for component tests (#3340)

Koenc2d4c175f446
diff --git a/ui/test/component.config.ts b/ui/test/component.config.ts
index d0e988b87..5ae70668a 100644
--- a/ui/test/component.config.ts
+++ b/ui/test/component.config.ts
@@ -29,6 +29,8 @@ export const defineCtConfig = (path: string) => {
const name = basename(path);
return baseConfig({
testMatch: "*.test.ts",
+ /* The general timeout setting which tests should pass within */
+ timeout: 60_000,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: Boolean(CI),
/* Retry failed tests twice on CI only to allow flaky behavior such as test timeouts to be retried */