You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return require(validRenderer.renderer) as ReactHooksRenderer
} else {
const options = renderers
.map(({ required }) => ` - ${required}`)
.sort((a, b) => a.localeCompare(b))
.join('\n')
throw new Error(
`Could not auto-detect a React renderer. Are you sure you've installed one of the following\n${options}\nIf you are using a bundler, please update your imports to use a specific renderer.\nFor instructions see: https://react-hooks-testing-library.com/installation#being-specific`