@@ -241,7 +241,7 @@ describe('RootInteraction Tests', () => {
241241 let flag = false ;
242242 const hoverTimer = setTimeout ( ( ) => {
243243 flag = true ;
244- } , 100 ) ;
244+ } , 100 ) as unknown as number ;
245245
246246 rootInteraction . setState ( {
247247 cells : [ getCellMeta ( mockCell ) ] ,
@@ -272,7 +272,7 @@ describe('RootInteraction Tests', () => {
272272 let flag = false ;
273273 const hoverTimer = setTimeout ( ( ) => {
274274 flag = true ;
275- } , 100 ) ;
275+ } , 100 ) as unknown as number ;
276276
277277 rootInteraction . setState ( {
278278 cells : [ getCellMeta ( mockCell ) ] ,
@@ -475,7 +475,7 @@ describe('RootInteraction Tests', () => {
475475
476476 describe ( 'RootInteraction Hover Timer Tests' , ( ) => {
477477 test ( 'should save hover timer' , ( ) => {
478- const timer = setTimeout ( ( ) => jest . fn ( ) , 200 ) ;
478+ const timer = setTimeout ( ( ) => jest . fn ( ) , 200 ) as unknown as number ;
479479
480480 rootInteraction . setHoverTimer ( timer ) ;
481481
@@ -486,7 +486,7 @@ describe('RootInteraction Tests', () => {
486486 let flag = false ;
487487 const timer = setTimeout ( ( ) => {
488488 flag = true ;
489- } , 200 ) ;
489+ } , 200 ) as unknown as number ;
490490
491491 rootInteraction . setHoverTimer ( timer ) ;
492492 rootInteraction . clearHoverTimer ( ) ;
0 commit comments