({sliderProps, thumbProps})
| 18 | import userEvent from '@testing-library/user-event'; |
| 19 | |
| 20 | let TestColorArea = ({sliderProps, thumbProps}) => ( |
| 21 | <ColorArea defaultValue="rgb(255, 0, 0)" xChannel="red" yChannel="green" {...sliderProps}> |
| 22 | <ColorThumb {...thumbProps} /> |
| 23 | </ColorArea> |
| 24 | ); |
| 25 | |
| 26 | let renderColorArea = (sliderProps, thumbProps) => |
| 27 | render(<TestColorArea {...{sliderProps, thumbProps}} />); |
nothing calls this directly
no outgoing calls
no test coverage detected