mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
14 lines
493 B
TypeScript
14 lines
493 B
TypeScript
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
import { autoReplyCoreTestExclude, autoReplyCoreTestInclude } from "./vitest.test-shards.mjs";
|
|
|
|
export function createAutoReplyCoreVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig([...autoReplyCoreTestInclude], {
|
|
dir: "src/auto-reply",
|
|
env,
|
|
exclude: [...autoReplyCoreTestExclude],
|
|
name: "auto-reply-core",
|
|
});
|
|
}
|
|
|
|
export default createAutoReplyCoreVitestConfig();
|