mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-24 11:03:17 -04:00
fix(curriculum): test for step 48 of dice game project (#53982)
This commit is contained in:
@@ -22,7 +22,7 @@ assert.match(code, /scoreInputs\.forEach/);
|
||||
You should apply a callback function to the `forEach` method with a parameter called `input`.
|
||||
|
||||
```js
|
||||
assert.match(code, /scoreInputs\.forEach\(\s*\(\s*input\s*\)?\s*=>/);
|
||||
assert.match(code, /scoreInputs\.forEach\(\s*(\(\s*input\s*\)|input)\s*=>/);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user