From 39cd3211109b96a0badbcb871b25207cd9f49f73 Mon Sep 17 00:00:00 2001 From: pchen66 Date: Thu, 7 May 2020 00:10:47 -0700 Subject: [PATCH] Update test to match latest device control --- test/src/lib/controls/DeviceOrientationControls.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/lib/controls/DeviceOrientationControls.test.js b/test/src/lib/controls/DeviceOrientationControls.test.js index 0f82e22d..9f114ee1 100644 --- a/test/src/lib/controls/DeviceOrientationControls.test.js +++ b/test/src/lib/controls/DeviceOrientationControls.test.js @@ -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();