摘要: // 采用了facebook的jest+enzyme// 1. 展示型组件测试,意思就是要确保每一次的修改都是符合预期的 describe('XJLayerCard', () => { it('renders correctly', () => { const wrapper = Enzyme.re 阅读全文
posted @ 2022-01-25 16:02 fengnovo 阅读(104) 评论(0) 推荐(0) 编辑