From 033766e50ae7576e62635b97f93dff45669bc365 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Thu, 20 Jul 2023 15:06:52 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Billy Vong --- packages/replay/test/integration/flush.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/replay/test/integration/flush.test.ts b/packages/replay/test/integration/flush.test.ts index 037aa00eb306..f1d0f52b0af5 100644 --- a/packages/replay/test/integration/flush.test.ts +++ b/packages/replay/test/integration/flush.test.ts @@ -260,7 +260,7 @@ describe('Integration | flush', () => { expect(mockFlush).toHaveBeenCalledTimes(1); }); - it('does not flush is session is too short', async () => { + it('does not flush if session is too short', async () => { replay.getOptions().minReplayDuration = 100_000; sessionStorage.clear(); @@ -282,7 +282,7 @@ describe('Integration | flush', () => { expect(mockSendReplay).toHaveBeenCalledTimes(0); }); - it('does not flush is session is too long', async () => { + it('does not flush if session is too long', async () => { replay.timeouts.maxSessionLife = 100_000; jest.setSystemTime(new Date(BASE_TIMESTAMP));