From 49ac9dbfb2cdf94767f535936c8d66acf5bb9c10 Mon Sep 17 00:00:00 2001 From: David Ortner Date: Thu, 29 Aug 2024 17:50:28 +0200 Subject: [PATCH] chore: [#1516] Fixes failing unit tests --- packages/happy-dom/test/window/BrowserWindow.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/happy-dom/test/window/BrowserWindow.test.ts b/packages/happy-dom/test/window/BrowserWindow.test.ts index c8062d9cf..b5422044a 100644 --- a/packages/happy-dom/test/window/BrowserWindow.test.ts +++ b/packages/happy-dom/test/window/BrowserWindow.test.ts @@ -599,7 +599,7 @@ describe('BrowserWindow', () => { document.body.appendChild(parent); expect(computedStyle.border).toBe('1px solid #000'); - expect(computedStyle.font).toBe('14px "Tahoma"'); + expect(computedStyle.font).toBe('14px Tahoma'); expect(computedStyle.color).toBe(''); }); @@ -638,7 +638,7 @@ describe('BrowserWindow', () => { document.body.appendChild(parent); expect(computedStyle.border).toBe('1px solid #000'); - expect(computedStyle.font).toBe('14px "Tahoma"'); + expect(computedStyle.font).toBe('14px Tahoma'); expect(computedStyle.color).toBe(''); });