File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/cypress/integration/directives Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ test('style attribute object binding with CSS variable',
40
40
</ div >
41
41
` ,
42
42
( { get } ) => {
43
- get ( 'div' ) . should ( haveAttribute ( 'style' , '--MyCSS-Variable:0.25;' ) )
43
+ get ( 'div' ) . should ( haveAttribute ( 'style' , '--MyCSS-Variable: 0.25;' ) )
44
44
}
45
45
)
46
46
@@ -62,7 +62,7 @@ test('CSS custom properties are set',
62
62
</ div >
63
63
` ,
64
64
( { 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;' ) )
66
66
}
67
67
)
68
68
@@ -73,6 +73,6 @@ test('existing CSS custom properties are preserved',
73
73
</ div >
74
74
` ,
75
75
( { 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);' ) )
77
77
}
78
78
)
You can’t perform that action at this time.
0 commit comments