Skip to content

Commit 614ef31

Browse files
committed
adjust jasmine tests
1 parent 811ec9a commit 614ef31

File tree

10 files changed

+253
-45
lines changed

10 files changed

+253
-45
lines changed

test/jasmine/tests/annotations_test.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,10 @@ describe('annotation effects', function() {
14471447
color: '#fff',
14481448
weight: 'normal',
14491449
style: 'normal',
1450-
variant: 'normal'
1450+
variant: 'normal',
1451+
capitalize: 'none',
1452+
striding: 'none',
1453+
shadow: 'none',
14511454
}
14521455
});
14531456

@@ -1476,7 +1479,10 @@ describe('annotation effects', function() {
14761479
color: '#080',
14771480
weight: 'normal',
14781481
style: 'normal',
1479-
variant: 'normal'
1482+
variant: 'normal',
1483+
capitalize: 'none',
1484+
striding: 'none',
1485+
shadow: 'none',
14801486
}
14811487
},
14821488
'annotations[1].hovertext': 'chicken'
@@ -1492,7 +1498,10 @@ describe('annotation effects', function() {
14921498
color: '#080',
14931499
weight: 'normal',
14941500
style: 'normal',
1495-
variant: 'normal'
1501+
variant: 'normal',
1502+
capitalize: 'none',
1503+
striding: 'none',
1504+
shadow: 'none',
14961505
}
14971506
});
14981507

test/jasmine/tests/axes_test.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,7 +2372,10 @@ describe('Test axes', function() {
23722372
color: '#444',
23732373
weight: 'normal',
23742374
style: 'normal',
2375-
variant: 'normal'
2375+
variant: 'normal',
2376+
capitalize: 'none',
2377+
striding: 'none',
2378+
shadow: 'none',
23762379
});
23772380
expect(yaxis.tickangle).toBe('auto');
23782381
})
@@ -2392,7 +2395,10 @@ describe('Test axes', function() {
23922395
color: '#0FF',
23932396
weight: 'normal',
23942397
style: 'normal',
2395-
variant: 'normal'
2398+
variant: 'normal',
2399+
capitalize: 'none',
2400+
striding: 'none',
2401+
shadow: 'none',
23962402
},
23972403
tickangle: -20
23982404
}
@@ -2412,7 +2418,10 @@ describe('Test axes', function() {
24122418
color: '#0FF',
24132419
weight: 'normal',
24142420
style: 'normal',
2415-
variant: 'normal'
2421+
variant: 'normal',
2422+
capitalize: 'none',
2423+
striding: 'none',
2424+
shadow: 'none',
24162425
});
24172426
expect(yaxis.tickangle).toBe(-20);
24182427
})

test/jasmine/tests/bar_test.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,21 @@ describe('Bar.supplyDefaults', function() {
158158
size: 13,
159159
weight: 'bold',
160160
style: 'italic',
161-
variant: 'small-caps'
161+
variant: 'small-caps',
162+
capitalize: 'word',
163+
striding: 'under',
164+
shadow: 'auto',
162165
}
163166
};
164167
var layoutFontMinusColor = {
165168
family: 'arial',
166169
size: 13,
167170
weight: 'bold',
168171
style: 'italic',
169-
variant: 'small-caps'
172+
variant: 'small-caps',
173+
capitalize: 'word',
174+
striding: 'under',
175+
shadow: 'auto',
170176
};
171177

172178
supplyDefaults(traceIn, traceOut, defaultColor, layout);

test/jasmine/tests/funnel_test.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,21 @@ describe('Funnel.supplyDefaults', function() {
159159
size: 13,
160160
weight: 'bold',
161161
style: 'italic',
162-
variant: 'small-caps'
162+
variant: 'small-caps',
163+
capitalize: 'word',
164+
striding: 'under',
165+
shadow: 'auto',
163166
}
164167
};
165168
var layoutFontMinusColor = {
166169
family: 'arial',
167170
size: 13,
168171
weight: 'bold',
169172
style: 'italic',
170-
variant: 'small-caps'
173+
variant: 'small-caps',
174+
capitalize: 'word',
175+
striding: 'under',
176+
shadow: 'auto',
171177
};
172178

173179
supplyDefaults(traceIn, traceOut, defaultColor, layout);

test/jasmine/tests/fx_test.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ describe('Fx defaults', function() {
156156
color: 'pink',
157157
weight: 'bold',
158158
style: 'italic',
159-
variant: 'small-caps'
159+
variant: 'small-caps',
160+
capitalize: 'word',
161+
striding: 'under',
162+
shadow: 'auto',
160163
}
161164
}
162165
});
@@ -170,7 +173,10 @@ describe('Fx defaults', function() {
170173
color: 'pink',
171174
weight: 'bold',
172175
style: 'italic',
173-
variant: 'small-caps'
176+
variant: 'small-caps',
177+
capitalize: 'word',
178+
striding: 'under',
179+
shadow: 'auto',
174180
},
175181
align: 'auto',
176182
namelength: 15
@@ -185,7 +191,10 @@ describe('Fx defaults', function() {
185191
color: 'red',
186192
weight: 'bold',
187193
style: 'italic',
188-
variant: 'small-caps'
194+
variant: 'small-caps',
195+
capitalize: 'word',
196+
striding: 'under',
197+
shadow: 'auto',
189198
},
190199
align: 'auto',
191200
namelength: 15
@@ -200,7 +209,10 @@ describe('Fx defaults', function() {
200209
color: 'pink',
201210
weight: 'bold',
202211
style: 'italic',
203-
variant: 'small-caps'
212+
variant: 'small-caps',
213+
capitalize: 'word',
214+
striding: 'under',
215+
shadow: 'auto',
204216
}
205217
});
206218

@@ -213,7 +225,10 @@ describe('Fx defaults', function() {
213225
color: 'pink',
214226
weight: 'bold',
215227
style: 'italic',
216-
variant: 'small-caps'
228+
variant: 'small-caps',
229+
capitalize: 'word',
230+
striding: 'under',
231+
shadow: 'auto',
217232
}
218233
});
219234
});

0 commit comments

Comments
 (0)