Skip to content

Commit

Permalink
Made VolumeManager tests less flaky (#678)
Browse files Browse the repository at this point in the history
Co-authored-by: James Hunt <[email protected]>
  • Loading branch information
huntj88 and James Hunt committed Aug 1, 2023
1 parent ee9643f commit 499e12d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/live-share-canvas/src/test/Miscellaneous.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
isPointInsideRectangle,
isRectangleInsideRectangle,
segmentsMayIntersect,
} from "../core/Internals";
} from "../core/internals";

const testColor: IColor = { r: 193, g: 221, b: 202 };
const serializedTestColor = "#C1DDCA";
Expand Down
2 changes: 1 addition & 1 deletion packages/live-share-media/src/test/VolumeManager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Deferred, waitForDelay } from "@microsoft/live-share/src/internals";

// few millis more than max timeout callback in scheduleAnimationFrame
const milliTolerance = 25;
const volumeChangeDuration = 0.1;
const volumeChangeDuration = 0.5;

describe("VolumeManager", () => {
it("should ramp down volume", async () => {
Expand Down

0 comments on commit 499e12d

Please sign in to comment.