mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-17 23:21:37 +00:00
* test: speed up focused test execution * style: format vitest config test * test: preserve targeted watch routing
15 lines
559 B
TypeScript
15 lines
559 B
TypeScript
// Vitest gateway methods config wires the gateway methods test shard.
|
|
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createGatewayMethodsVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(["src/gateway/server-methods/**/*.test.ts"], {
|
|
dir: "src/gateway",
|
|
env,
|
|
// Gateway child projects share one include file; preserve this project's ownership.
|
|
intersectIncludeFile: true,
|
|
name: "gateway-methods",
|
|
});
|
|
}
|
|
|
|
export default createGatewayMethodsVitestConfig();
|