File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
exercises/02-Separate-Stylesheet Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ describe("All the styles should be applied", ()=>{
10
10
const link = document . querySelector ( "link" ) ;
11
11
const body = document . querySelector ( "body" ) ;
12
12
13
- test ( "The body tag should not contain any inline style" , ( ) => {
13
+ test ( "The < body> tag should not contain any inline style" , ( ) => {
14
14
document . querySelector ( "head" ) . innerHTML = `<style>${ css . toString ( ) } </style>` ;
15
15
let emptyBodyInlineStyle = { } ;
16
16
expect ( body . style . _values ) . toEqual ( emptyBodyInlineStyle )
17
17
} ) ;
18
18
19
- test ( "You should not change the existing head tag elements" , ( ) => {
19
+ test ( "You should not change the existing < head> tag elements" , ( ) => {
20
20
let head = document . querySelector ( 'head' )
21
21
expect ( head ) . toBeTruthy ( )
22
22
@@ -27,7 +27,7 @@ describe("All the styles should be applied", ()=>{
27
27
expect ( href ) . toEqual ( './styles.css' )
28
28
} ) ;
29
29
30
- test ( "Your body tag background color should be blue" , ( ) => {
30
+ test ( "Your < body> tag background color should be blue" , ( ) => {
31
31
let styles = window . getComputedStyle ( body )
32
32
expect ( styles [ "background-color" ] ) . toBe ( "blue" )
33
33
} )
You can’t perform that action at this time.
0 commit comments