Skip to content

Commit c4db72a

Browse files
committed
fixed test not expecting red background
1 parent 32248ab commit c4db72a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/03-Bootstrap-Grid/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ describe("All the tests should pass", function () {
5959

6060
let div = thirdRow.querySelector("div");
6161
expect(div).toBeTruthy();
62-
expect(div.classList.contains("col-12") || div.classList.contains("col"));
63-
expect(div.classList.contains("bg-danger"));
62+
expect(div.classList.contains("col-12") || div.classList.contains("col")).toBeTruthy();
63+
expect(div.classList.contains("bg-danger")).toBeTruthy();
6464
expect(div.innerHTML.toString()).toBeTruthy();
6565
});
6666

0 commit comments

Comments
 (0)