美文网首页
报错:You should not use out

报错:You should not use out

作者: Polaris_ecf9 | 来源:发表于2020-02-12 23:19 被阅读0次
import ReactRouterEnzymeContext from 'react-router-enzyme-context';

const options = new ReactRouterEnzymeContext();
const wrapper = mount(<TestComp { ...props } />, options.get());

相关文章

网友评论

      本文标题:报错:You should not use out

      本文链接:https://www.haomeiwen.com/subject/mkphfhtx.html