()
| 146 | } |
| 147 | |
| 148 | export async function armNextProjectMutationFailureOnServer(): Promise<void> { |
| 149 | await requestJson<{ ok: true }>( |
| 150 | new URL('/api/testing/fail-next-mutation', API_BASE_URL), |
| 151 | { |
| 152 | method: 'POST', |
| 153 | }, |
| 154 | 'Failed to arm next mutation failure', |
| 155 | ) |
| 156 | } |
| 157 | |
| 158 | export async function resetProjectsApiState(): Promise<void> { |
| 159 | await requestJson<{ ok: true }>( |
no outgoing calls
no test coverage detected