mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:10:49 +00:00
test(plugins): route tts contract helper changes narrowly
This commit is contained in:
@@ -137,6 +137,17 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
).toBeNull();
|
||||
});
|
||||
|
||||
it("routes precise plugin contract helpers without broad-running every shard", () => {
|
||||
expect(
|
||||
resolveChangedTargetArgs(["--changed", "origin/main"], process.cwd(), () => [
|
||||
"test/helpers/plugins/tts-contract-suites.ts",
|
||||
]),
|
||||
).toEqual([
|
||||
"src/plugins/contracts/core-extension-facade-boundary.test.ts",
|
||||
"src/plugins/contracts/tts.contract.test.ts",
|
||||
]);
|
||||
});
|
||||
|
||||
it("keeps the broad changed run for unknown root surfaces", () => {
|
||||
expect(
|
||||
resolveChangedTargetArgs(["--changed", "origin/main"], process.cwd(), () => [
|
||||
|
||||
Reference in New Issue
Block a user