Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
calebporzio committed Nov 19, 2023
1 parent 5c461c4 commit ac0b741
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/cypress/integration/directives/x-bind-style.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test('style attribute object binding with CSS variable',
</div>
`,
({ get }) => {
get('div').should(haveAttribute('style', '--MyCSS-Variable: 0.25;'))
get('div').should(haveAttribute('style', '--MyCSS-Variable:0.25;'))
}
)

Expand All @@ -62,7 +62,7 @@ test('CSS custom properties are set',
</div>
`,
({ get }) => {
get('span').should(haveAttribute('style', 'color: var(--custom-prop); --custom-prop: #f00;'))
get('span').should(haveAttribute('style', 'color: var(--custom-prop); --custom-prop:#f00;'))
}
)

Expand All @@ -73,6 +73,6 @@ test('existing CSS custom properties are preserved',
</div>
`,
({ get }) => {
get('span').should(haveAttribute('style', 'color: var(--custom-prop-b); --custom-prop-a: red; --custom-prop-b: var(--custom-prop-a);'))
get('span').should(haveAttribute('style', 'color: var(--custom-prop-b); --custom-prop-a: red; --custom-prop-b:var(--custom-prop-a);'))
}
)

0 comments on commit ac0b741

Please sign in to comment.