test(scripts): focus bundled metadata routing

This commit is contained in:
Vincent Koc
2026-06-20 23:53:40 +02:00
parent 58d295840e
commit f18ff7551e
2 changed files with 11 additions and 0 deletions

View File

@@ -1071,6 +1071,13 @@ describe("scripts/test-projects changed-target routing", () => {
});
});
it("keeps bundled plugin metadata copier edits on runtime owner tests", () => {
expect(resolveChangedTestTargetPlan(["scripts/copy-bundled-plugin-metadata.mjs"])).toEqual({
mode: "targets",
targets: ["src/plugins/copy-bundled-plugin-metadata.test.ts", "src/infra/run-node.test.ts"],
});
});
it("keeps CI workflow edits on workflow guard tests", () => {
expect(resolveChangedTestTargetPlan([".github/workflows/ci.yml"])).toEqual({
mode: "targets",