mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:10:52 +00:00
perf: speed up auth choice tests
This commit is contained in:
@@ -339,6 +339,16 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("routes provider auth choice edits to focused auth-choice tests", () => {
|
||||
expect(resolveChangedTestTargetPlan(["src/plugins/provider-auth-choice.ts"])).toEqual({
|
||||
mode: "targets",
|
||||
targets: [
|
||||
"src/commands/auth-choice.apply.plugin-provider.test.ts",
|
||||
"src/commands/auth-choice.test.ts",
|
||||
],
|
||||
});
|
||||
});
|
||||
|
||||
it("routes changed utils and shared files to their light scoped lanes", () => {
|
||||
const plans = buildVitestRunPlans(["--changed", "origin/main"], process.cwd(), () => [
|
||||
"src/shared/string-normalization.ts",
|
||||
|
||||
Reference in New Issue
Block a user