Top "Chai-enzyme" questions

Error: Method “props” is only meant to be run on a single node. 2 found instead

it('should call setCampaignDate on click', function () { let spySetCampaign = sinon.spy(wrapper.instance(), 'setCampaignDate'); let datePickers = wrapper.find('.campaign-date-tab').…

reactjs chai-enzyme
Checkbox is not `checked` after simulate `change` with enzyme

I tried to use enzyme to simulate change event on a checkbox, and use chai-enzyme to assert if it's been …

reactjs checkbox simulate enzyme chai-enzyme
Testing changes to React component state and spying on instance methods using enzyme

I am working on a wrapper component for smoothly loading images in React. I use enzyme with mocha, chai and …

javascript reactjs sinon enzyme chai-enzyme
Enzyme Test React.createRef()

I have a commponent where I use the new React.createRef() api, how to test document.activeElement should be equal …

javascript reactjs jestjs enzyme chai-enzyme