Skip to content

Commit 4ec22b7

Browse files
add raz claw logic
1 parent 2e4ffac commit 4ec22b7

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

scripts/test-projects.test-support.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ const TOOLING_SOURCE_TEST_TARGETS = new Map([
230230
["scripts/github/barnacle-auto-response.mjs", ["test/scripts/barnacle-auto-response.test.ts"]],
231231
["scripts/changed-lanes.mjs", ["test/scripts/changed-lanes.test.ts"]],
232232
["scripts/check-changed.mjs", ["test/scripts/changed-lanes.test.ts"]],
233-
["scripts/check-sparsekernel-openapi.mjs", ["test/scripts/changed-lanes.test.ts"]],
233+
["scripts/check-sparsekernel-openapi.mjs", ["test/scripts/check-sparsekernel-openapi.test.ts"]],
234234
["scripts/lib/live-docker-stage.sh", ["test/scripts/live-docker-stage.test.ts"]],
235235
["scripts/lib/vitest-local-scheduling.mjs", ["test/scripts/vitest-local-scheduling.test.ts"]],
236236
[

test/scripts/test-projects.test.ts

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

151+
it("routes SparseKernel OpenAPI checker edits to checker tests", () => {
152+
expect(resolveChangedTestTargetPlan(["scripts/check-sparsekernel-openapi.mjs"])).toEqual({
153+
mode: "targets",
154+
targets: ["test/scripts/check-sparsekernel-openapi.test.ts"],
155+
});
156+
});
157+
151158
it("does not route live tests through the normal changed-test lane", () => {
152159
expect(
153160
resolveChangedTestTargetPlan(["src/gateway/gateway-codex-harness.live.test.ts"]),

0 commit comments

Comments
 (0)