Skip to content

Commit 0458aa7

Browse files
committed
Fix x-bind-style specs
1 parent d1c3ca6 commit 0458aa7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cypress/integration/directives/x-bind-style.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test('style attribute object binding with CSS variable',
4040
</div>
4141
`,
4242
({ get }) => {
43-
get('div').should(haveAttribute('style', '--MyCSS-Variable:0.25;'))
43+
get('div').should(haveAttribute('style', '--MyCSS-Variable: 0.25;'))
4444
}
4545
)
4646

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

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

0 commit comments

Comments
 (0)