diff --git a/packages/happy-dom/test/window/Window.test.ts b/packages/happy-dom/test/window/Window.test.ts index a22f14a8c..88368339e 100644 --- a/packages/happy-dom/test/window/Window.test.ts +++ b/packages/happy-dom/test/window/Window.test.ts @@ -298,7 +298,7 @@ describe('Window', () => { } } - @media (max-width: 768px) { + @media (max-width: ${768 / 16}rem) { div { font-size: 20px; }