Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcos committed Nov 9, 2023
1 parent 4e5f995 commit 513c5d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/components/hand-tracking-controls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ suite('tracked-controls-webxr', function () {
el.components['hand-tracking-controls'].checkIfControllerPresent();
el.components['hand-tracking-controls'].isPinched = true;
thumbMatrix.setPosition(0, 0, 10);
el.components['hand-tracking-controls'].pinchDistance = 1;
el.components['hand-tracking-controls'].tick();
el.components['hand-tracking-controls'].detectPinch();
assert.equal(emitSpy.getCalls()[0].args[0], 'pinchended');
Expand Down

0 comments on commit 513c5d0

Please sign in to comment.