feat(curriculum): add test for not removing spaces in step 67 of todo app (#57026)

This commit is contained in:
Ilenia 2024-11-04 12:21:12 +01:00 committed by GitHub
parent 1557cd5ab6
commit 00a880411e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,12 @@ You should define a `removeSpecialChars` function.
assert.isFunction(removeSpecialChars);
```
Your `removeSpecialChars` should not remove spaces.
```js
assert.strictEqual(removeSpecialChars("The quick brown fox jumps over the lazy dog"),"The quick brown fox jumps over the lazy dog");
```
Your `removeSpecialChars` should remove single quotes.
```js