You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@srigar I'm still getting this error with version 2.0.25 and jest
/** * @jest-environment jsdom */importrendererfrom'react-test-renderer';import{Multiselect}from'multiselect-react-dropdown';it('multiselect renders',()=>{letstate={options: [{name: 'Option 1',id: 1},{name: 'Option 2',id: 2}]};consttree=renderer.create(<Multiselectoptions={state.options}// Options to display in the dropdowndisplayValue="name"// Property name to display in the dropdown options/>).toJSON();expect(tree).toMatchSnapshot();});
Any help would be much appreciated. The component itself works great with some nice fixes being observed after we upgraded from 1.6 to 2.0.25 :-)
The text was updated successfully, but these errors were encountered:
Reopening #78
@srigar I'm still getting this error with version 2.0.25 and jest
Any help would be much appreciated. The component itself works great with some nice fixes being observed after we upgraded from 1.6 to 2.0.25 :-)
The text was updated successfully, but these errors were encountered: