MCPcopy Create free account
hub / github.com/TanStack/query / mocks.ts

File mocks.ts

examples/preact/auto-refetching/src/mocks.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { HttpResponse, delay, http } from 'msw'
2import { setupWorker } from 'msw/browser'
3
4const storageKey = 'auto-refetching-list'

Callers

nothing calls this directly

Calls 4

getMethod · 0.80
getListFunction · 0.70
setListFunction · 0.70
delayFunction · 0.50

Tested by

no test coverage detected