MCPcopy Create free account
hub / github.com/react-component/select / readPropsFunc

Function readPropsFunc

tests/Select.test.tsx:1735–1737  ·  view source on GitHub ↗
(_, opt)

Source from the content-addressed store, hash-verified

1733 const errorSpy = jest.spyOn(console, 'error').mockImplementation(() => {});
1734
1735 const readPropsFunc = (_, opt) => {
1736 expect(opt.props).toBeTruthy();
1737 };
1738
1739 const { container } = render(
1740 <Select mode="multiple" onSelect={readPropsFunc} onDeselect={readPropsFunc}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…