📅  最后修改于: 2022-03-11 15:02:58.977000             🧑  作者: Mango
import Enzyme from 'enzyme';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
Enzyme.configure({ adapter: new Adapter() });