MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / testForChildrenInComponent

Function testForChildrenInComponent

src/testUtils.js:38–41  ·  view source on GitHub ↗
(Component)

Source from the content-addressed store, hash-verified

36}
37
38export function testForChildrenInComponent(Component) {
39 render(<Component>Yo!</Component>);
40 expect(screen.getByText('Yo!')).toBeInTheDocument();
41}
42
43// Custom render for Dropdown with provider props
44export const customDropdownRender = (ui, providerProps) => {

Callers 15

Breadcrumb.spec.jsFile · 0.90
NavBrand.spec.jsFile · 0.90
Dropdown.spec.jsFile · 0.90
Row.spec.jsFile · 0.90
Pagination.spec.jsFile · 0.90
FormText.spec.jsFile · 0.90
Form.spec.jsFile · 0.90
FormGroup.spec.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…