We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c08ec8 commit 642fd75Copy full SHA for 642fd75
exercises/01-hello-world/tests.js
@@ -15,14 +15,14 @@ it('Add a <strong> tag.', function () {
15
expect(strong).toBeTruthy();
16
});
17
18
-it('The <span> tag should have the expected value.', function () {
+it('The <span> tag should have inside "hello, i am a text"', function () {
19
let span = document.querySelector("span");
20
expect(span).toBeTruthy();
21
expect(span.innerHTML.toLowerCase()).toContain("hello, i am a text")
22
23
24
-it('The <strong> tag should have the expected value.', function () {
+it('The <strong> tag should have inside "hello, i am also a text but in bold"', function () {
25
let strong = document.querySelector("strong");
26
27
expect(strong.innerHTML.toLowerCase()).toContain("hello, i am also a text but in bold")
28
-});
+});
0 commit comments