Skip to content

Commit

Permalink
another tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Mar 12, 2024
1 parent 3cf4d4b commit 13700f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/wdio/attribute-host/cmp.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('attribute-host', function () {
// get default border color from body element as it might differ between different OS
borderColor: getComputedStyle(document.body).borderColor.replaceAll(' ', ''),
display: 'inline-block',
'font-size': '16px',
fontSize: '16px',
});

// this tests CSS custom properties in inline style, but CSS var are
Expand Down Expand Up @@ -57,9 +57,9 @@ describe('attribute-host', function () {
await button.click();

await expect(elm).toHaveStyle({
'border-color': 'rgba(255,255,255,1)',
borderColor: getComputedStyle(document.body).borderColor.replaceAll(' ', ''),
display: 'inline-block',
'font-size': '16px',
fontSize: '16px',
});

if (win.CSS && win.CSS.supports && win.CSS.supports('--prop', 'value')) {
Expand Down

0 comments on commit 13700f4

Please sign in to comment.