fix(curriculum): test for step 19 of authors project (#53763)

Co-authored-by: Shiva Sai Krishna Gadeela <shivasaikrishnagadeela@Sonus-MacBook-Air.local>
This commit is contained in:
Shiva Sai Krishna Gadeela
2024-02-16 20:06:58 +05:30
committed by GitHub
parent 9859eb53f1
commit a1451d8678
@@ -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`);
```