From 642fd75b6cedac638b925aa30c5d670e8f06b9d5 Mon Sep 17 00:00:00 2001 From: Alejandro Sanchez Date: Tue, 5 Nov 2024 13:09:01 -0500 Subject: [PATCH] Update tests.js --- exercises/01-hello-world/tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/01-hello-world/tests.js b/exercises/01-hello-world/tests.js index 50b37ed7..5aed70a5 100644 --- a/exercises/01-hello-world/tests.js +++ b/exercises/01-hello-world/tests.js @@ -15,14 +15,14 @@ it('Add a tag.', function () { expect(strong).toBeTruthy(); }); -it('The tag should have the expected value.', function () { +it('The tag should have inside "hello, i am a text"', function () { let span = document.querySelector("span"); expect(span).toBeTruthy(); expect(span.innerHTML.toLowerCase()).toContain("hello, i am a text") }); -it('The tag should have the expected value.', function () { +it('The tag should have inside "hello, i am also a text but in bold"', function () { let strong = document.querySelector("strong"); expect(strong).toBeTruthy(); expect(strong.innerHTML.toLowerCase()).toContain("hello, i am also a text but in bold") -}); \ No newline at end of file +});