mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 12:13:31 +08:00
fix(curriculum): make test for Music Player Test Less Strict (#53383)
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
co-authored by
Krzysztof G.
parent
d63cb7816f
commit
7c0328173e
+1
-1
@@ -32,7 +32,7 @@ assert.match(code, /<button\s*class\s*=\s*('|")playlist-song-info\1\s*>\s*<span\
|
||||
You should interpolate `song.title` as the content of your `span` element.
|
||||
|
||||
```js
|
||||
assert.match(code, /<button\s*class\s*=\s*('|")playlist-song-info\1\s*>\s*<span\s*class\s*=\s*('|")playlist-song-title\2\s*>\$\{song\.title\}\s*<\/span>\s*<\/button>/)
|
||||
assert.match(code, /<button\s*class\s*=\s*('|")playlist-song-info\1\s*>\s*<span\s*class\s*=\s*('|")playlist-song-title\2\s*>\s*\$\{\s*song\.title\s*\}\s*<\/span>\s*<\/button>/)
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user