Skip to content

Commit a948254

Browse files
committed
adapt jasmine tests to pass the cI
1 parent 8c1a9d9 commit a948254

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/jasmine/tests/template_test.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ describe('makeTemplate', function() {
1919
{fill: 'toself'}
2020
] },
2121
layout: {
22-
title: 'Fill toself and tonext',
22+
title: {
23+
text: 'Fill toself and tonext'
24+
},
2325
width: 400,
2426
height: 400
2527
}
@@ -130,11 +132,11 @@ describe('makeTemplate', function() {
130132
line: {width: 2, color: 'rgba(160,160,0,0.25)'}
131133
}],
132134
width: 600,
133-
xaxis: {domain: [0, 0.45], color: '#CCC', title: 'XXX'},
134-
xaxis2: {domain: [0.55, 1], title: 'XXX222'},
135-
yaxis: {color: '#88F', title: 'y'},
135+
xaxis: {domain: [0, 0.45], color: '#CCC', title: {text: 'XXX'}},
136+
xaxis2: {domain: [0.55, 1], title: {text: 'XXX222'}},
137+
yaxis: {color: '#88F', title: {text: 'y'}},
136138
// inherits from both yaxis2 and template.yaxis
137-
yaxis2: {color: '#88F', title: 'y2', anchor: 'x2'}
139+
yaxis2: {color: '#88F', title: {text: 'y2'}, anchor: 'x2'}
138140
}
139141
};
140142

0 commit comments

Comments
 (0)