We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e54fb commit ba2b37dCopy full SHA for ba2b37d
exercises/07-Very-Specific-Rules/tests.js
@@ -52,7 +52,7 @@ describe("All the styles should be applied", ()=>{
52
backgroundColor = backgroundColor.toLowerCase()
53
}
54
55
- } expect(background && background === 'green' || backgroundColor === 'green').toBeTruthy();
+ } expect((background && background === 'green') || (backgroundColor && backgroundColor === 'green')).toBeTruthy();
56
})
57
58
test("The odd rows of the table should have yellow background", ()=>{
@@ -95,4 +95,4 @@ describe("All the styles should be applied", ()=>{
95
expect(title).toBeTruthy()
96
97
98
-});
+});
0 commit comments