@@ -6,7 +6,6 @@ describe("poll-action", () => {
66 const updateInterval = 200 ;
77 const maxDuration = 1000 ;
88 const action = jest . fn ( ( ) => {
9- console . log ( `Polling...` ) ;
109 return Promise . reject ( false ) ;
1110 } ) ;
1211
@@ -29,7 +28,6 @@ describe("poll-action", () => {
2928 const updateInterval = 200 ;
3029 const maxDuration = 1000 ;
3130 const action = jest . fn ( async ( ) => {
32- console . log ( `Polling...` ) ;
3331 return false ;
3432 } ) ;
3533
@@ -52,7 +50,6 @@ describe("poll-action", () => {
5250 const updateInterval = 200 ;
5351 const maxDuration = 1000 ;
5452 const action = jest . fn ( ( ) => {
55- console . log ( `Polling...` ) ;
5653 return Promise . resolve ( true ) ;
5754 } ) ;
5855
@@ -71,7 +68,6 @@ describe("poll-action", () => {
7168 const updateInterval = 200 ;
7269 const maxDuration = 1000 ;
7370 const action = jest . fn ( async ( ) => {
74- console . log ( `Polling...` ) ;
7571 return true ;
7672 } ) ;
7773
@@ -91,7 +87,6 @@ describe("poll-action", () => {
9187 const maxDuration = 1000 ;
9288 const delay = 2.2 * updateInterval ;
9389 const action = jest . fn ( ( ) => {
94- console . log ( `Polling...` ) ;
9590 const interval = ( Date . now ( ) - start ) ;
9691 return new Promise < boolean > ( ( resolve , reject ) => ( interval > delay ) ? resolve ( true ) : reject ( ) ) ;
9792 } ) ;
0 commit comments