#Testing checkbox indeterminate state

1 messages · Page 1 of 1 (latest)

urban vigil
#

Just wondering if anyone has had any luck using React Testing Library to test when a checkbox is in an indeterminate state? As far as I can tell they added a toBePartiallyChecked() method for asserting this but it doesn't seem to work. I can't see anything in the dom that would indicate the checkbox is in the indeterminate state so i'm not sure how RTL would know?

umbral marsh