Skip to content

Commit

Permalink
Update test to match latest device control
Browse files Browse the repository at this point in the history
  • Loading branch information
pchen66 committed May 7, 2020
1 parent 5abb6c9 commit 39cd321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/lib/controls/DeviceOrientationControls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ test('Device Orientation Change Event', t => {
control.connect();
window.dispatchEvent( event );
control.update();
t.is(control.deviceOrientation.alpha, orient.alpha);
t.is(control.deviceOrientation.alpha, 0);
t.is(control.deviceOrientation.beta, orient.beta);
t.is(control.deviceOrientation.gamma, orient.gamma);
t.pass();
Expand Down

0 comments on commit 39cd321

Please sign in to comment.