From f6868754071f335dbf576ab193291e577c56a7d4 Mon Sep 17 00:00:00 2001 From: Aikins Laryea Date: Fri, 30 Oct 2026 09:43:15 +0000 Subject: [PATCH] test(cli): give each cli test 30 seconds, since each one starts the cli as a process A test that starts the CLI seven times took 5,031 ms on a CI runner, just past vitest's 5 second default, and failed main after #128. --- packages/cli/vite.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/cli/vite.config.ts b/packages/cli/vite.config.ts index cf8ebff1..6a497a8f 100644 --- a/packages/cli/vite.config.ts +++ b/packages/cli/vite.config.ts @@ -26,4 +26,9 @@ export default defineConfig({ }, }, fmt: {}, + test: { + // Each test starts the CLI as a process, several times; one start takes up to 700ms + // on a CI runner, which pushes the longer tests past the 5s default. + testTimeout: 30_000, + }, });