fix(server): update PR status test for new normalized fields

normalizeCheckoutPrStatusPayload always emits the full wire shape now
(number, repoOwner, repoName, isDraft, checks, checksStatus,
reviewDecision) — the workspace-git-watch test's toEqual assertion
still had the pre-PR-pane shape and was failing.

Update the expected object to match the actual wire contract.
This commit is contained in:
Mohamed Boudra
2026-04-19 15:11:37 +07:00
parent d9d6509880
commit 128d6668ae
@@ -345,12 +345,19 @@ describe("workspace git watch targets", () => {
).toEqual({
cwd: "/tmp/repo",
status: {
number: undefined,
url: "https://github.com/acme/repo/pull/456",
title: "Runtime centralization",
state: "merged",
repoOwner: undefined,
repoName: undefined,
baseRefName: "main",
headRefName: "workspace-git-service",
isMerged: true,
isDraft: false,
checks: [],
checksStatus: undefined,
reviewDecision: undefined,
},
githubFeaturesEnabled: true,
error: null,