mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-07 04:23:54 +08:00
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.
19 lines
567 B
TypeScript
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",
|
|
},
|
|
});
|