Files
openclaw-openclaw/ui/vitest.node.config.ts
Vincent Koc 3d64efbd3d test(ui): stabilize Control UI suite routing
Keep moved Control UI browser layout tests routed in both UI Vitest configs and stabilize chat suite-order assertions. Verified with Testbox UI proof and changed gate; final PR CI remains the merge gate.
2026-07-04 16:38:36 -07:00

19 lines
567 B
TypeScript

// Control UI config module wires vitest behavior.
import { defineConfig } from "vitest/config";
import { resolveDefaultVitestPool } from "../test/vitest/vitest.shared.config.ts";
// Node-only tests for pure logic (no Playwright/browser dependency).
export default defineConfig({
test: {
isolate: false,
pool: resolveDefaultVitestPool(),
testTimeout: 120_000,
include: [
"src/**/*.node.test.ts",
"src/pages/chat/chat-responsive.browser.test.ts",
"src/pages/sessions/view.browser.test.ts",
],
environment: "node",
},
});