高频知识点
enzyme-adapter-react-16
enzyme-adapter-react-16
对 react 功能组件测试
Enzyme is a JavaScript Testing utility for React that makes it easier to test your React Components’ output. You can also manipulate, traverse, and in some ways simulate runtime given the output.
这是一个适配 react16 的库