diff --git a/exercises/07-Very-Specific-Rules/styles.css b/exercises/07-Very-Specific-Rules/styles.css index defdb77a..300d0677 100644 --- a/exercises/07-Very-Specific-Rules/styles.css +++ b/exercises/07-Very-Specific-Rules/styles.css @@ -1,7 +1,7 @@ /** Insert your code here **/ /*********** READ ONLY BLOCK ****** -You CAN NOT UPDATE anything from here on, +You CANNOT UPDATE anything from here on, only add lines of code on top of this lines **/ diff --git a/exercises/07-Very-Specific-Rules/tests.js b/exercises/07-Very-Specific-Rules/tests.js index f3b4d5a9..9cdd774c 100644 --- a/exercises/07-Very-Specific-Rules/tests.js +++ b/exercises/07-Very-Specific-Rules/tests.js @@ -9,9 +9,7 @@ describe("All the styles should be applied", function () { beforeEach(() => { //here I import the HTML into the document document.documentElement.innerHTML=html.toString(); - //apply the styles from the stylesheet if needed - }); afterEach(() => { jest.resetModules(); @@ -23,18 +21,13 @@ describe("All the styles should be applied", function () { "head" ).innerHTML=``; let cssArray=document.styleSheets[0].cssRules; - let orangeHoverSelector=""; for (let i=0; i li") { orangeHoverSelector=cssArray[i].style.color; - } expect(orangeHoverSelector).toBe("red"); } - - }); it("The ul second element background should be green", function () { document.querySelector( @@ -44,7 +37,7 @@ describe("All the styles should be applied", function () { let orangeHoverSelector=""; for (let i=0; i li:nth-child(2)" ) { orangeHoverSelector=cssArray[i].style['background-color']; } @@ -90,9 +83,4 @@ describe("All the styles should be applied", function () { let title = head.querySelector('title') expect(title).not.toBe(null) }) - - - - - }); \ No newline at end of file diff --git a/learn.json b/learn.json index cd0b8478..3c17442e 100644 --- a/learn.json +++ b/learn.json @@ -11,10 +11,9 @@ "difficulty": "easy", "video-solutions": true, "graded": true, - - "disableGrading": true, - "editor": { - "version": "1.0.73" - } - + "disabledActions": ["test"], + "disableGrading": false, + "editor": { + "version": "1.0.73" + } }