mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 13:20:42 +00:00
* test: make suites safe without isolation * fix: narrow auth profile credential types * test: inject channel module loader factory locally
18 lines
511 B
TypeScript
18 lines
511 B
TypeScript
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/ui/chat/chat-responsive.browser.test.ts",
|
|
"src/ui/views/sessions.browser.test.ts",
|
|
],
|
|
environment: "node",
|
|
},
|
|
});
|