File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
exercises/04.1-Combined-Rules Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -55,23 +55,6 @@ describe("All the styles should be applied", ()=> {
5555 expect ( orangeHoverSelector ) . toBe ( '50px' ) ;
5656 } ) ;
5757
58- test ( "The background-size should be 'contain'" , ( ) => {
59- document . querySelector (
60- "head"
61- ) . innerHTML = `<style>${ css . toString ( ) } </style>` ;
62-
63- let cssArray = document . styleSheets [ 0 ] . cssRules ;
64- let orangeHoverSelector = "" ;
65-
66- for ( let i = 0 ; i < cssArray . length ; i ++ ) {
67- if ( cssArray [ i ] . selectorText === ".myBox" ) {
68- orangeHoverSelector = cssArray [ i ] . style [ 'background-size' ] ;
69- }
70- }
71-
72- expect ( orangeHoverSelector ) . toBe ( 'contain' ) ;
73- } ) ;
74-
7558 test ( "The background should include the shorthand property" , ( ) => {
7659 document . querySelector (
7760 "head"
You can’t perform that action at this time.
0 commit comments