fix(curriculum): augment test for adding tracks property (#45424)
* Only English * Consitent quotation marks
This commit is contained in:
@ -31,13 +31,13 @@ assert(
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
After `updateRecords(recordCollection, 5439, "tracks", "Take a Chance on Me")`, `tracks` should have the string `Take a Chance on Me` as the last element.
|
After `updateRecords(recordCollection, 5439, "tracks", "Take a Chance on Me")`, `tracks` should have the string `Take a Chance on Me` as the last and only element.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(
|
assert(
|
||||||
updateRecords(_recordCollection, 5439, 'tracks', 'Take a Chance on Me')[5439][
|
updateRecords(_recordCollection, 5439, 'tracks', 'Take a Chance on Me') &&
|
||||||
'tracks'
|
_recordCollection[5439]['tracks'].length === 1 &&
|
||||||
].pop() === 'Take a Chance on Me'
|
_recordCollection[5439]['tracks'].pop() === 'Take a Chance on Me'
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user