MCPcopy Create free account
hub / github.com/streamich/react-use / setUp

Function setUp

tests/createReducer.test.ts:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 };
45
46 const setUp = () => {
47 const useThunkReducer = createReducer(thunk, logger);
48 return renderHook(() => useThunkReducer(reducer, { count: initialCount }));
49 };
50
51 beforeAll(() => {
52 originalLog = console.log;

Callers 1

Calls 1

createReducerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…