mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-08 11:02:26 +00:00
test(scripts): focus build stamp routing
This commit is contained in:
@@ -434,6 +434,7 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([
|
||||
["test/scripts/package-acceptance-workflow.test.ts"],
|
||||
],
|
||||
["scripts/build-all.mjs", ["test/scripts/build-all.test.ts"]],
|
||||
["scripts/build-stamp.mjs", ["src/infra/build-stamp.test.ts"]],
|
||||
["scripts/crabbox-wrapper.mjs", ["test/scripts/crabbox-wrapper.test.ts"]],
|
||||
["scripts/github/barnacle-auto-response.mjs", ["test/scripts/barnacle-auto-response.test.ts"]],
|
||||
["scripts/changed-lanes.mjs", ["test/scripts/changed-lanes.test.ts"]],
|
||||
|
||||
@@ -1064,6 +1064,13 @@ describe("scripts/test-projects changed-target routing", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("keeps build stamp script edits on the build stamp regression test", () => {
|
||||
expect(resolveChangedTestTargetPlan(["scripts/build-stamp.mjs"])).toEqual({
|
||||
mode: "targets",
|
||||
targets: ["src/infra/build-stamp.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