From a1451d8678c4c5396be78a53392220fa7e582a76 Mon Sep 17 00:00:00 2001 From: Shiva Sai Krishna Gadeela <80159502+shivasaikrishnagadeela@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:06:58 +0530 Subject: [PATCH] fix(curriculum): test for step 19 of authors project (#53763) Co-authored-by: Shiva Sai Krishna Gadeela --- .../641da86294fd9f485d3c2bf0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641da86294fd9f485d3c2bf0.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641da86294fd9f485d3c2bf0.md index b5f13f13f69..23b4f49ddb7 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641da86294fd9f485d3c2bf0.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-fetch-and-promises-by-building-an-fcc-authors-page/641da86294fd9f485d3c2bf0.md @@ -40,7 +40,7 @@ assert.equal(document.querySelector('a')?.getAttribute('target'), '_blank'); You should interpolate `author` followed by the text `'s author page` inside your anchor element. ```js -assert.equal(document.querySelector('a')?.textContent, `${authorDataArr[0].author}'s author page`); +assert.equal(document.querySelector('a')?.textContent.trim(), `${authorDataArr[0].author}'s author page`); ```