Skip to content

Commit

Permalink
[fix] ut
Browse files Browse the repository at this point in the history
  • Loading branch information
shallowdream218 committed Nov 21, 2023
1 parent f850ae8 commit ac3cdba
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/common/chart/__tests__/ChartMixin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,16 +698,4 @@ describe('Chart Mixin Component', () => {
expect(wrapper.vm.echartOptions.series[0].itemStyle.color).toEqual('#d53e4f');
done();
});

it('trigger echarts events', () => {
wrapper = factory({
options: optionFactory(),
datasetOptions: datasetOptionsFactory(['bar']),
dataset: geoJSONDataset,
associatedMap: true
}, { localVue });
const chartInstance = wrapper.vm._getEchart();
expect(chartInstance).not.toBeUndefined();
console.log('chartInstance', chartInstance);
});
});

0 comments on commit ac3cdba

Please sign in to comment.