Skip to content

Commit fd2f9aa

Browse files
committed
[update] test-bug
1 parent e8427af commit fd2f9aa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/common/widgets/chart/ChartViewSpec.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ describe('ChartView', () => {
4545
it('setStyle', () => {
4646
var style = {
4747
backgroundColor: "#fff",
48-
tooltip: "test",
49-
grid: "test"
48+
grid: {}
5049
}
51-
var options = chartView.setStyle(style);
52-
expect(options).not.toBeDefined();
50+
chartView.setStyle(style);
51+
expect(chartView.echart).not.toBeNull();
5352
});
5453
it('changeType', () => {
5554
chartView.changeType("bar");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy