diff --git a/docs/tests/screen.js b/docs/tests/screen.js index 154aa0af..edce155c 100644 --- a/docs/tests/screen.js +++ b/docs/tests/screen.js @@ -170,7 +170,7 @@ const { pixelDepth, } = screen -const { orientation: orientationType } = screen.type || {} +const { type: orientationType } = screen.orientation const vViewport = 'visualViewport' in window ? visualViewport : {} const { width: viewportWidth, height: viewportHeight } = vViewport || {} @@ -245,7 +245,7 @@ patch(el, html`