Skip to content

Commit f18ff75

Browse files
committed
test(scripts): focus bundled metadata routing
1 parent 58d2958 commit f18ff75

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

scripts/test-projects.test-support.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,10 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([
477477
["scripts/ci-changed-scope.mjs", ["src/scripts/ci-changed-scope.test.ts"]],
478478
["scripts/ci-docker-pull-retry.sh", ["test/scripts/ci-docker-pull-retry.test.ts"]],
479479
["scripts/control-ui-i18n.ts", ["test/scripts/control-ui-i18n.test.ts"]],
480+
[
481+
"scripts/copy-bundled-plugin-metadata.mjs",
482+
["src/plugins/copy-bundled-plugin-metadata.test.ts", "src/infra/run-node.test.ts"],
483+
],
480484
[
481485
"scripts/e2e/agent-bundle-mcp-tools-docker.sh",
482486
[

test/scripts/test-projects.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,13 @@ describe("scripts/test-projects changed-target routing", () => {
10711071
});
10721072
});
10731073

1074+
it("keeps bundled plugin metadata copier edits on runtime owner tests", () => {
1075+
expect(resolveChangedTestTargetPlan(["scripts/copy-bundled-plugin-metadata.mjs"])).toEqual({
1076+
mode: "targets",
1077+
targets: ["src/plugins/copy-bundled-plugin-metadata.test.ts", "src/infra/run-node.test.ts"],
1078+
});
1079+
});
1080+
10741081
it("keeps CI workflow edits on workflow guard tests", () => {
10751082
expect(resolveChangedTestTargetPlan([".github/workflows/ci.yml"])).toEqual({
10761083
mode: "targets",

0 commit comments

Comments
 (0)