File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1179,24 +1179,20 @@ describe('hover info', function() {
1179
1179
expect ( elem1BB . top - elem2BB . top ) . toBeWithin ( 0 , tolerance , msg ) ;
1180
1180
}
1181
1181
1182
- it ( 'renders labels inside boxes' , function ( done ) {
1182
+ it ( 'renders labels inside boxes' , function ( ) {
1183
1183
_hover ( gd , 300 , 150 ) ;
1184
1184
1185
1185
var nodes = ensureCentered ( centeredHoverInfoNodes ( ) ) ;
1186
1186
assertElemInside ( nodes . primaryText , nodes . primaryBox , 'Primary text inside box' ) ;
1187
1187
assertElemInside ( nodes . secondaryText , nodes . secondaryBox , 'Secondary text inside box' ) ;
1188
-
1189
- done ( ) ;
1190
1188
} ) ;
1191
1189
1192
- it ( 'renders secondary info box right to primary info box' , function ( done ) {
1190
+ it ( 'renders secondary info box right to primary info box' , function ( ) {
1193
1191
_hover ( gd , 300 , 150 ) ;
1194
1192
1195
1193
var nodes = ensureCentered ( centeredHoverInfoNodes ( ) ) ;
1196
1194
assertElemRightTo ( nodes . secondaryBox , nodes . primaryBox , 'Secondary box right to primary box' ) ;
1197
1195
assertTopsAligned ( nodes . secondaryBox , nodes . primaryBox , 'Top edges of primary and secondary boxes aligned' ) ;
1198
-
1199
- done ( ) ;
1200
1196
} ) ;
1201
1197
} ) ;
1202
1198
} ) ;
You can’t perform that action at this time.
0 commit comments