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', () => {
283283 clock . tick ( 24 * 60 * 60 * 1000 ) ;
284284 }
285285
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+ ) ;
287289 const earliestHeartbeatDate = getEarliestHeartbeatIdx (
288290 heartbeatService . _heartbeatsCache ?. heartbeats !
289291 ) ;
290292 const earliestHeartbeat =
291293 heartbeatService . _heartbeatsCache ?. heartbeats [ earliestHeartbeatDate ] ! ;
292294 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+ ) ;
294298 expect (
295299 heartbeatService . _heartbeatsCache ?. heartbeats . indexOf ( earliestHeartbeat )
296300 ) . to . equal ( - 1 ) ;
You can’t perform that action at this time.
0 commit comments