wie man Requisiten in React -Testfällen passt
it('renders results after search', () => {
const fetched = true;
const wrapper = mount(<Search store={store} {...fetched}/>);
expect(wrapper.find('Results').length).toEqual(1);
});
Salo Hopeless