Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 642fd75

Browse files
Update tests.js
1 parent 5c08ec8 commit 642fd75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎exercises/01-hello-world/tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ it('Add a <strong> tag.', function () {
1515
expect(strong).toBeTruthy();
1616
});
1717

18-
it('The <span> tag should have the expected value.', function () {
18+
it('The <span> tag should have inside "hello, i am a text"', function () {
1919
let span = document.querySelector("span");
2020
expect(span).toBeTruthy();
2121
expect(span.innerHTML.toLowerCase()).toContain("hello, i am a text")
2222
});
2323

24-
it('The <strong> tag should have the expected value.', function () {
24+
it('The <strong> tag should have inside "hello, i am also a text but in bold"', function () {
2525
let strong = document.querySelector("strong");
2626
expect(strong).toBeTruthy();
2727
expect(strong.innerHTML.toLowerCase()).toContain("hello, i am also a text but in bold")
28-
});
28+
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /