We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8427af commit fd2f9aaCopy full SHA for fd2f9aa
test/common/widgets/chart/ChartViewSpec.js
@@ -45,11 +45,10 @@ describe('ChartView', () => {
45
it('setStyle', () => {
46
var style = {
47
backgroundColor: "#fff",
48
- tooltip: "test",
49
- grid: "test"
+ grid: {}
50
}
51
- var options = chartView.setStyle(style);
52
- expect(options).not.toBeDefined();
+ chartView.setStyle(style);
+ expect(chartView.echart).not.toBeNull();
53
});
54
it('changeType', () => {
55
chartView.changeType("bar");
0 commit comments