Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Jul 11, 2024
1 parent 55195cc commit 6c73796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manuscript/050_Avoid_mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const puppy = {
puppy.age = 14;
```

<!-- expect(puppy).toEqual({name: 'Dessi', age: 14}) -->
<!-- expect(puppy).toEqual(expect.objectContaining({age: 14})) -->

Here we’re _mutating_ the original `puppy` object by changing its `age` property.

Expand Down

0 comments on commit 6c73796

Please # to comment.