Skip to content

Commit

Permalink
chore: [#1516] Fixes failing unit tests (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
capricorn86 committed Aug 29, 2024
1 parent 99639e5 commit 5b23cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/happy-dom/test/window/BrowserWindow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('');
});

Expand Down Expand Up @@ -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('');
});

Expand Down

0 comments on commit 5b23cc1

Please sign in to comment.