mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-27 09:02:15 +00:00
22 lines
630 B
TypeScript
22 lines
630 B
TypeScript
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createGatewayClientVitestConfig(env?: Record<string, string | undefined>) {
|
|
return createScopedVitestConfig(
|
|
[
|
|
"src/gateway/protocol/**/*.test.ts",
|
|
"src/gateway/**/*client*.test.ts",
|
|
"src/gateway/**/*reconnect*.test.ts",
|
|
"src/gateway/**/*android-node*.test.ts",
|
|
"src/gateway/**/*gateway-cli-backend*.test.ts",
|
|
],
|
|
{
|
|
dir: "src/gateway",
|
|
env,
|
|
exclude: ["src/gateway/**/*server*.test.ts"],
|
|
name: "gateway-client",
|
|
},
|
|
);
|
|
}
|
|
|
|
export default createGatewayClientVitestConfig();
|