When building Higher-Order Components you need to setWrappedComponent.displayName for DevTools:
WithAuth.displayName = `WithAuth(${getDisplayName(Component)})`;Implement solve(wrapperName, component) where component is an object
with displayName, name, or neither. Return the formatted string:
'${wrapperName}(${displayName || name || "Component"})'Sample tests