Skip to content

Commit a261579

Browse files
committed
Fix test names
1 parent fb96954 commit a261579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/src/heartbeatService.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ describe('HeartbeatServiceImpl', () => {
274274
const emptyHeaders = await heartbeatService.getHeartbeatsHeader();
275275
expect(emptyHeaders).to.equal('');
276276
});
277-
it('triggerHeartbeat() removes the earliest heartbeat once it exceeds the max number of heartbeats', async () => {
277+
it('triggerHeartbeat() removes the earliest heartbeat once the max number of heartbeats is exceeded', async () => {
278278
// Trigger heartbeats until we reach the limit
279279
const numHeartbeats =
280280
heartbeatService._heartbeatsCache?.heartbeats.length!;
@@ -295,7 +295,7 @@ describe('HeartbeatServiceImpl', () => {
295295
heartbeatService._heartbeatsCache?.heartbeats.indexOf(earliestHeartbeat)
296296
).to.equal(-1);
297297
});
298-
it('triggerHeartbeat() never exceeds max heartbeats', async () => {
298+
it('triggerHeartbeat() never causes the heartbeat count to exceed the max', async () => {
299299
for (let i = 0; i <= 50; i++) {
300300
await heartbeatService.triggerHeartbeat();
301301
clock.tick(24 * 60 * 60 * 1000);

0 commit comments

Comments
 (0)