Skip to content

Commit

Permalink
Relax the clientWidth constraint in the controls tests, on Ubuntu the…
Browse files Browse the repository at this point in the history
… window opens with width 886
  • Loading branch information
vincentfretin committed Jan 23, 2025
1 parent 5d8300b commit 8cd9131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/core/controls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ suite('rotation controls on camera with touch drag (integration unit test)', fun

canvas = sceneEl.canvas;
sceneEl.isMobile = true;
assert.isAtLeast(canvas.clientWidth, 1000);
assert.isAtLeast(canvas.clientWidth, 800);

// Dispatch touchstart event.
touchStartEvent = new Event('touchstart');
Expand Down Expand Up @@ -437,7 +437,7 @@ suite('rotation controls on camera with touch drag (integration unit test)', fun

canvas = sceneEl.canvas;
sceneEl.isMobile = true;
assert.isAtLeast(canvas.clientWidth, 1000);
assert.isAtLeast(canvas.clientWidth, 800);

// Dispatch touchstart event.
touchStartEvent = new Event('touchstart');
Expand Down

0 comments on commit 8cd9131

Please sign in to comment.