MCPcopy Create free account
hub / github.com/TanStack/db / mockMutationFn

Function mockMutationFn

packages/db/tests/transaction-types.test.ts:38–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 it(`should validate TransactionConfig structure`, () => {
37 // Minimal config with required mutationFn
38 const mockMutationFn: MutationFn = async () => Promise.resolve()
39 const minimalConfig: TransactionConfig = {
40 mutationFn: mockMutationFn,
41 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected