Skip to content

Commit 13d3c67

Browse files
committed
Update tests
1 parent 7ec80c6 commit 13d3c67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/specs/global.defaults.tests.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,20 +102,23 @@ describe('Default Configs', function() {
102102
hidden: false,
103103
index: 0,
104104
strokeStyle: '#000',
105+
textAlign: undefined,
105106
lineWidth: 2
106107
}, {
107108
text: 'label2',
108109
fillStyle: 'green',
109110
hidden: false,
110111
index: 1,
111112
strokeStyle: '#000',
113+
textAlign: undefined,
112114
lineWidth: 2
113115
}, {
114116
text: 'label3',
115117
fillStyle: 'blue',
116118
hidden: false,
117119
index: 2,
118120
strokeStyle: '#000',
121+
textAlign: undefined,
119122
lineWidth: 2
120123
}];
121124
expect(chart.legend.legendItems).toEqual(expected);
@@ -193,20 +196,23 @@ describe('Default Configs', function() {
193196
hidden: false,
194197
index: 0,
195198
strokeStyle: '#000',
199+
textAlign: undefined,
196200
lineWidth: 2
197201
}, {
198202
text: 'label2',
199203
fillStyle: 'green',
200204
hidden: false,
201205
index: 1,
202206
strokeStyle: '#000',
207+
textAlign: undefined,
203208
lineWidth: 2
204209
}, {
205210
text: 'label3',
206211
fillStyle: 'blue',
207212
hidden: false,
208213
index: 2,
209214
strokeStyle: '#000',
215+
textAlign: undefined,
210216
lineWidth: 2
211217
}];
212218
expect(chart.legend.legendItems).toEqual(expected);

0 commit comments

Comments
 (0)