(status: number, statusText = 'Unauthorized')
| 55 | }) |
| 56 | |
| 57 | const errorResponse = (status: number, statusText = 'Unauthorized') => ({ |
| 58 | ok: false, |
| 59 | status, |
| 60 | statusText, |
| 61 | json: vi.fn().mockResolvedValue({}), |
| 62 | }) |
| 63 | |
| 64 | /** |
| 65 | * Builds a request whose query string carries the given workspaceId. Passing |