test(uplifts): serve can-approve in the uplift e2e workflow mock

This commit is contained in:
Codex Review Integration 2026-09-17 02:49:24 -03:00
parent 8bc8ff30b6
commit ebbbd91f83

View file

@ -296,6 +296,11 @@ test("internal approver can approve, reject, and revoke with audited notes", asy
return;
}
if (path.endsWith("/uplifts/can-approve")) {
await fulfillJson(route, { canApprove: true });
return;
}
const requestedStatus = new URL(request.url()).searchParams.get("status");
const items = [
{