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 15:36:58 +01:00
committed by GitHub
co-authored by Shiva Sai Krishna Gadeela
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`);
```