fix(curriculum): test that assignment is unchanged (#50490)

* fix(curriculum): test that assignment is unchanged

* chore: apply gikf's review

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

---------

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
Naomi Carrigan
2023-05-24 01:56:06 -07:00
committed by GitHub
parent 94534382ae
commit 50e356378e

View File

@@ -51,6 +51,12 @@ Your code should use dot and bracket notation to access `myStorage`.
assert(/=\s*myStorage\.car\.inside\[\s*("|')glove box\1\s*\]/g.test(code));
```
`gloveBoxContents` should still be declared with `const`.
```js
assert.match(code, /const\s+gloveBoxContents\s*=/)
```
# --seed--
## --after-user-code--