Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe("parseSentryLinkHeader", () => {
});

describe("runtime validator entry points", () => {
const response = { run_id: 42, sentry_run_id: "run-42" };
const response = { run_id: 42, sentry_run_id: "run-42", feature_id: "autofix" };

test("preserves composite request schemas across generator upgrades", () => {
const request = { path: { organization_id_or_slug: "example", project_id_or_slug: "project" } };
Expand Down
1 change: 1 addition & 0 deletions test/typecheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { zAutofixPostResponse } from "../src/zod";
const valibotResponse: InferOutput<typeof vAutofixPostResponse> = {
run_id: 1,
sentry_run_id: null,
feature_id: "autofix",
};
const zodResponse: z.infer<typeof zAutofixPostResponse> = valibotResponse;
void zodResponse;
Expand Down
Loading