mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:40:44 +00:00
perf(test): keep commitment runtime tests focused
This commit is contained in:
@@ -602,6 +602,20 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("routes commitment model-selection runtime edits away from broad gateway dependents", () => {
|
||||
expect(
|
||||
resolveChangedTestTargetPlan([
|
||||
"src/agents/model-selection.test.ts",
|
||||
"src/commitments/model-selection.runtime.ts",
|
||||
"src/commitments/runtime.test.ts",
|
||||
"src/commitments/runtime.ts",
|
||||
]),
|
||||
).toEqual({
|
||||
mode: "targets",
|
||||
targets: ["src/agents/model-selection.test.ts", "src/commitments/runtime.test.ts"],
|
||||
});
|
||||
});
|
||||
|
||||
it("routes provider auth choice edits to focused auth-choice tests", () => {
|
||||
expect(resolveChangedTestTargetPlan(["src/plugins/provider-auth-choice.ts"])).toEqual({
|
||||
mode: "targets",
|
||||
|
||||
Reference in New Issue
Block a user