fix(curriculum): test for step 48 of dice game project (#53982)

This commit is contained in:
PrajvalaRC
2024-03-05 15:19:50 +05:30
committed by GitHub
parent a04c87e05f
commit 3b38612a9f

View File

@@ -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--