File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -283,14 +283,18 @@ describe('HeartbeatServiceImpl', () => {
283
283
clock . tick ( 24 * 60 * 60 * 1000 ) ;
284
284
}
285
285
286
- expect ( heartbeatService . _heartbeatsCache ?. heartbeats . length ) . to . equal ( MAX_NUM_STORED_HEARTBEATS ) ;
286
+ expect ( heartbeatService . _heartbeatsCache ?. heartbeats . length ) . to . equal (
287
+ MAX_NUM_STORED_HEARTBEATS
288
+ ) ;
287
289
const earliestHeartbeatDate = getEarliestHeartbeatIdx (
288
290
heartbeatService . _heartbeatsCache ?. heartbeats !
289
291
) ;
290
292
const earliestHeartbeat =
291
293
heartbeatService . _heartbeatsCache ?. heartbeats [ earliestHeartbeatDate ] ! ;
292
294
await heartbeatService . triggerHeartbeat ( ) ;
293
- expect ( heartbeatService . _heartbeatsCache ?. heartbeats . length ) . to . equal ( MAX_NUM_STORED_HEARTBEATS ) ;
295
+ expect ( heartbeatService . _heartbeatsCache ?. heartbeats . length ) . to . equal (
296
+ MAX_NUM_STORED_HEARTBEATS
297
+ ) ;
294
298
expect (
295
299
heartbeatService . _heartbeatsCache ?. heartbeats . indexOf ( earliestHeartbeat )
296
300
) . to . equal ( - 1 ) ;
You can’t perform that action at this time.
0 commit comments