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

Function wrapper

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected