File size: 741 Bytes
bbcff29 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | // Control UI config module wires vitest behavior.
import { defineConfig } from "vitest/config";
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()],
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/sessions/view.browser.test.ts",
],
environment: "node",
},
});
|