File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 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() {
11791179 expect ( elem1BB . top - elem2BB . top ) . toBeWithin ( 0 , tolerance , msg ) ;
11801180 }
11811181
1182- it ( 'renders labels inside boxes' , function ( done ) {
1182+ it ( 'renders labels inside boxes' , function ( ) {
11831183 _hover ( gd , 300 , 150 ) ;
11841184
11851185 var nodes = ensureCentered ( centeredHoverInfoNodes ( ) ) ;
11861186 assertElemInside ( nodes . primaryText , nodes . primaryBox , 'Primary text inside box' ) ;
11871187 assertElemInside ( nodes . secondaryText , nodes . secondaryBox , 'Secondary text inside box' ) ;
1188-
1189- done ( ) ;
11901188 } ) ;
11911189
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 ( ) {
11931191 _hover ( gd , 300 , 150 ) ;
11941192
11951193 var nodes = ensureCentered ( centeredHoverInfoNodes ( ) ) ;
11961194 assertElemRightTo ( nodes . secondaryBox , nodes . primaryBox , 'Secondary box right to primary box' ) ;
11971195 assertTopsAligned ( nodes . secondaryBox , nodes . primaryBox , 'Top edges of primary and secondary boxes aligned' ) ;
1198-
1199- done ( ) ;
12001196 } ) ;
12011197 } ) ;
12021198} ) ;
You can’t perform that action at this time.
0 commit comments