Skip to content

Commit

Permalink
#921@trivial: Adds unit test for retrieving root font size in media q…
Browse files Browse the repository at this point in the history
…ueries.
  • Loading branch information
capricorn86 committed May 18, 2023
1 parent 523f379 commit 05060aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/happy-dom/test/window/Window.test.ts
Expand Up @@ -298,7 +298,7 @@ describe('Window', () => {
}
}
@media (max-width: 768px) {
@media (max-width: ${768 / 16}rem) {
div {
font-size: 20px;
}
Expand Down

0 comments on commit 05060aa

Please sign in to comment.