diff --git a/test/specs/component/Chart.js b/test/specs/component/Chart.js index 958e9425..d1ab87ae 100644 --- a/test/specs/component/Chart.js +++ b/test/specs/component/Chart.js @@ -87,7 +87,6 @@ describe(' data prop', () => { expect(chartInstance.get('data').length).equal(9); // 数据初始化 }); - // 这个逻辑一直有问题 chartInstance 时机 it('update data', () => { wrapper.setProps({ data: [{ year: '1991', value: 3 }] }); wrapper.update();