Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Billy Vong <billyvg@users.noreply.github.com>
  • Loading branch information
mydea and billyvg committed Jul 20, 2023
1 parent 98eeb59 commit 033766e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/replay/test/integration/flush.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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));

Expand Down

0 comments on commit 033766e

Please sign in to comment.