mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
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:
committed by
GitHub
parent
9859eb53f1
commit
a1451d8678
+1
-1
@@ -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`);
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user