MCPcopy Create free account
hub / github.com/TanStack/query / armNextProjectMutationFailureOnServer

Function armNextProjectMutationFailureOnServer

examples/lit/pagination/src/api.ts:148–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148export 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
158export async function resetProjectsApiState(): Promise<void> {
159 await requestJson<{ ok: true }>(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected