const CheckBox = (props) => {
const { className, active = false, onClick = () => { }, label = '', isHidden=false } = props;
if(isHidden) return null;
return <StyledCheckBox className={className} onClick={() => onClick(!active)} >
<div data-testid="CHECKBOX_ID" className={`box ${active ? 'active' : 'inactive'}`}>
{active && <div className='check-mark' />}
</div>
<div className='label'>{label}</div>
</StyledCheckBox>
}
how should i write test case for this if i have to see if the checkbox is selected or not?