score:1

Accepted answer

you added an extra props property to the component which don't need to. the attributes of jsx will be composed to the props object. it should be:

const tempvalue = { value: { ishelper1: true, ishelper2: false } };
const wrapper = mount(<mainrender {...tempvalue} />);

Related Query

More Query from same tag