App tests: 20 s limit, whole-app renders went past 5 s on a busy runner
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
This commit is contained in:
1 parent
c94772e78e
commit
4e1d293d06
1 file changed
+2
-1
@@ -9,5 +9,6 @@ export default defineConfig({
|
||||
server: { port: 5173, strictPort: true },
|
||||
// No source maps in production: the browser gets minified code only, never the readable sources.
|
||||
build: { target: "es2022", sourcemap: false },
|
||||
test: { environment: "jsdom", setupFiles: ["./src/test-setup.ts"] },
|
||||
// Whole-app renders type character by character; on a busy CI runner they pass 5 s.
|
||||
test: { environment: "jsdom", setupFiles: ["./src/test-setup.ts"], testTimeout: 20_000 },
|
||||
});
|
||||
Reference in new issue
Block a user