mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-07 18:42:25 +00:00
test(scripts): focus bundled metadata routing
This commit is contained in:
@@ -477,6 +477,10 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([
|
||||
["scripts/ci-changed-scope.mjs", ["src/scripts/ci-changed-scope.test.ts"]],
|
||||
["scripts/ci-docker-pull-retry.sh", ["test/scripts/ci-docker-pull-retry.test.ts"]],
|
||||
["scripts/control-ui-i18n.ts", ["test/scripts/control-ui-i18n.test.ts"]],
|
||||
[
|
||||
"scripts/copy-bundled-plugin-metadata.mjs",
|
||||
["src/plugins/copy-bundled-plugin-metadata.test.ts", "src/infra/run-node.test.ts"],
|
||||
],
|
||||
[
|
||||
"scripts/e2e/agent-bundle-mcp-tools-docker.sh",
|
||||
[
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user