Skip to content

Commit

Permalink
tests: relax condition in flaky playback position test (#1792)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Aug 22, 2024
1 parent cf0a571 commit 69c7897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/tests/unit/room.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe("Room", () => {
const expectedPlaybackPosition = room.realPlaybackPosition;
const syncState = room.syncableState();

expect(syncState.playbackPosition).toBeCloseTo(expectedPlaybackPosition);
expect(syncState.playbackPosition).toBeCloseTo(expectedPlaybackPosition, 1);
});

describe("Room Requests", () => {
Expand Down

0 comments on commit 69c7897

Please sign in to comment.