fix: modified tests for step 10 of building a spam filter (#54364)

Co-authored-by: Naomi <nhcarrigan@gmail.com>
This commit is contained in:
Jenna (Ju Hee) Han 2024-04-15 13:32:09 -04:00 committed by GitHub
parent 8ffd180b4c
commit 4541f41b8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,12 +23,16 @@ Your `helpRegex` should match the string `please help`.
```js
assert.match('please help', helpRegex);
const splitRegex = helpRegex.toString().split(/[\/|]/);
assert.include(splitRegex, 'please help');
```
Your `helpRegex` should match the string `assist me`.
```js
assert.match('assist me', helpRegex);
const splitRegex = helpRegex.toString().split(/[\/|]/);
assert.include(splitRegex, 'assist me');
```
# --seed--