openclaw/ui/vitest.node.config.ts
Peter Steinberger 2cc8b43efa
fix(ui): keep chat footer controls clear of messages and notices (#152608)
* fix(ui): keep chat footer controls clear of messages and notices

* fix(ui): preserve synchronous chat measurement and complete footer cutover

* fix(auth): join refresh settlement before retrying model selection
2026-09-19 02:34:05 -07:00

24 lines
917 B
TypeScript

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