mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-03 01:01:13 -04:00
fix(curriculum): handle whitespace for step 12 of workshop-cat-photo-app (#61344)
This commit is contained in:
@@ -26,7 +26,7 @@ assert.strictEqual(document.querySelector('a')?.innerText?.replace(/\s+/g, ' ').
|
||||
You should have `See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery` in your code.
|
||||
|
||||
```js
|
||||
assert.match(code, /See more <a href="https:\/\/freecatphotoapp\.com">cat photos<\/a> in our gallery/)
|
||||
assert.match(code, /See more\s+<a href="https:\/\/freecatphotoapp\.com">cat photos<\/a>\s+in our gallery/);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user