mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 09:13:11 +00:00
test(uplifts): serve can-approve in the uplift e2e workflow mock
This commit is contained in:
parent
8bc8ff30b6
commit
ebbbd91f83
1 changed files with 5 additions and 0 deletions
5
e2e/vendors/vendor-uplift-workflow.spec.ts
vendored
5
e2e/vendors/vendor-uplift-workflow.spec.ts
vendored
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue