Files
openclaw/test/vitest/vitest.gateway-methods.config.ts
Peter Steinberger 418dd85e66 improve: speed up focused test execution (#106307)
* test: speed up focused test execution

* style: format vitest config test

* test: preserve targeted watch routing
2026-07-13 04:38:05 -07:00

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();