MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / profileNavItem

Function profileNavItem

client/src/components/Header/header.test.tsx:76–76  ·  view source on GitHub ↗
(component: Component)

Source from the content-addressed store, hash-verified

74 children: { props: { className: string } }[];
75};
76const profileNavItem = (component: Component) => component.children[0];
77
78const avatarHasClass = (
79 componentTree: ReactTestRendererJSON | ReactTestRendererJSON[] | null,

Callers 1

avatarHasClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected