mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-26 08:31:55 +00:00
perf(test): trim runtime lookups and add changed bench
This commit is contained in:
@@ -112,13 +112,17 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
it("routes changed commands source allowlist files to sibling light tests", () => {
|
||||
const plans = buildVitestRunPlans(["--changed", "origin/main"], process.cwd(), () => [
|
||||
"src/commands/status-overview-values.ts",
|
||||
"src/commands/gateway-status/helpers.ts",
|
||||
]);
|
||||
|
||||
expect(plans).toEqual([
|
||||
{
|
||||
config: "vitest.commands-light.config.ts",
|
||||
forwardedArgs: [],
|
||||
includePatterns: ["src/commands/status-overview-values.test.ts"],
|
||||
includePatterns: [
|
||||
"src/commands/status-overview-values.test.ts",
|
||||
"src/commands/gateway-status/helpers.test.ts",
|
||||
],
|
||||
watchMode: false,
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user