This fails with the error The given element does not have a value setter. (I tried a ton of workaround inputs, such as target: {value: ... } }, value: { },, value: { now: {...}}
It would be nice to be able to test the onChange functionality nested within this component without having to engage in tedious workarounds.
CodeSandbox
TODO: I will get to this when I get a little more time
Description
Rendering a simple
<ReactSlider ... />
with React Testing Library:This fails with the error
The given element does not have a value setter
. (I tried a ton of workaround inputs, such astarget: {value: ... } }
,value: { },
,value: { now: {...}}
It would be nice to be able to test the onChange functionality nested within this component without having to engage in tedious workarounds.
CodeSandbox
TODO: I will get to this when I get a little more time