MCPcopy
hub / github.com/reduxjs/redux / dummyMiddleware

Function dummyMiddleware

test/applyMiddleware.spec.ts:147–149  ·  test/applyMiddleware.spec.ts::dummyMiddleware
({ dispatch }: MiddlewareAPI)

Source from the content-addressed store, hash-verified

145 }
146
147 function dummyMiddleware({ dispatch }: MiddlewareAPI) {
148 return (_next: unknown) => (action: any) => dispatch(action, testCallArgs)
149 }
150
151 const store = createStore(
152 reducers.todos,

Callers

nothing calls this directly

Calls 1

dispatchFunction · 0.50

Tested by

no test coverage detected