File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -321,15 +321,15 @@ describe(`Simple Component instance`, function () {
321
321
322
322
context ( `when applying override styles` , function ( ) {
323
323
it ( `appends the overriding styles to the default styles` , async function ( ) {
324
- el . setAttribute ( `style-override` , `:host { background: red; }` ) ;
324
+ el . setAttribute ( `style-override` , `:host { background-color : red; }` ) ;
325
325
await nextAnimationFrame ( ) ;
326
- expect ( getComponentStylesheetText ( el ) ) . to . equal ( `:host { color: blue; }:host { background: red; }` ) ;
326
+ expect ( getComponentStylesheetText ( el ) ) . to . equal ( `:host { color: blue; }:host { background-color : red; }` ) ;
327
327
} ) ;
328
328
329
329
it ( `it applies the styles even if the component isn't attached to the DOM` , function ( ) {
330
330
el = document . createElement ( `shadow-dom-app` ) ;
331
- el . setAttribute ( `style-override` , `:host { background: red; }` ) ;
332
- expect ( getComponentStylesheetText ( el ) ) . to . equal ( `:host { color: blue; }:host { background: red; }` ) ;
331
+ el . setAttribute ( `style-override` , `:host { background-color : red; }` ) ;
332
+ expect ( getComponentStylesheetText ( el ) ) . to . equal ( `:host { color: blue; }:host { background-color : red; }` ) ;
333
333
} ) ;
334
334
} ) ;
335
335
} ) ;
You can’t perform that action at this time.
0 commit comments