An open source design system that's fully customizable and agent ready
TypeScript
test: give the ui vitest project the same timeout budget as node (#5404)
Cindy Zhang7e1475b480b2
diff --git a/vitest.config.ts b/vitest.config.tsindex a4bae7c583..48ef654a8f 100644--- a/vitest.config.ts+++ b/vitest.config.ts@@ -104,6 +104,13 @@ export default defineConfig({extends: true,test: {name: 'ui',+ // A jsdom component suite can cost ~1.8s p95 per test where a+ // comparable file costs ~80ms, so the 5s default leaves almost no+ // headroom: on a busy machine slow-but-correct runs flake+ // non-deterministically (every failure was "timed out in 5000ms",+ // never a wrong value). Same budget as `node`, for the same reason.+ testTimeout: 30_000,+ hookTimeout: 30_000,include: ['packages/core/src/**/*.test.{ts,tsx,mjs}','packages/lab/src/**/*.test.{ts,tsx,mjs}',