({ children }: { children: ReactNode })
| 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 | () => { |
nothing calls this directly
no outgoing calls
no test coverage detected