mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-03 01:29:56 +00:00
* 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
24 lines
917 B
TypeScript
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",
|
|
},
|
|
});
|