mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-29 01:31:18 +00:00
test: default vitest root projects to threads
This commit is contained in:
@@ -3,8 +3,12 @@ import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
||||
export function createUiVitestConfig(env?: Record<string, string | undefined>) {
|
||||
return createScopedVitestConfig(["ui/src/ui/**/*.test.ts"], {
|
||||
dir: "ui/src/ui",
|
||||
environment: "jsdom",
|
||||
env,
|
||||
isolate: true,
|
||||
name: "ui",
|
||||
setupFiles: ["ui/src/test-helpers/lit-warnings.setup.ts"],
|
||||
useNonIsolatedRunner: false,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user