Skip to content

Commit

Permalink
fix laser-controls Touch test now that offsets have been zeroed
Browse files Browse the repository at this point in the history
  • Loading branch information
machenmusik committed Mar 31, 2018
1 parent dda97be commit b947892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/laser-controls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ suite('laser-controls', function () {
el.emit('controllerconnected', {name: 'oculus-touch-controls'});
setTimeout(() => {
var raycaster = el.getAttribute('raycaster');
assert.notEqual(raycaster.origin.z, 0);
assert.notEqual(raycaster.direction.y, 0);
assert.equal(raycaster.origin.z, 0);
assert.equal(raycaster.direction.y, 0);
done();
});
});
Expand Down

0 comments on commit b947892

Please sign in to comment.