MCPcopy Create free account
hub / github.com/dailydotdev/apps / wrapper

Function wrapper

packages/shared/src/hooks/post/useViewPost.spec.tsx:85–96  ·  view source on GitHub ↗
({ children }: { children: ReactNode })

Source from the content-addressed store, hash-verified

83 });
84 const getFeatureValue = jest.spyOn(gb, 'getFeatureValue');
85 const wrapper = ({ children }: { children: ReactNode }) => (
86 <TestBootProvider
87 client={client}
88 auth={{ user }}
89 gb={gb}
90 settings={{ optOutReadingStreak: false, streakGoal, ...settings }}
91 alerts={alerts}
92 log={log}
93 >
94 {children}
95 </TestBootProvider>
96 );
97
98 const view = renderHook(
99 () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected