Skip to content

Commit

Permalink
fix(jest-mock): spyOn should support 0 key in objects (jestjs#14077)
Browse files Browse the repository at this point in the history
  • Loading branch information
octaharon committed Apr 18, 2023
1 parent a5e5ac0 commit a77fc46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- `[jest-mock]` Tweak typings to allow `jest.replaceProperty()` replace methods ([#14008](https://github.com/facebook/jest/pull/14008))
- `[jest-snapshot]` Fix a potential bug when not using prettier and improve performance ([#14036](https://github.com/facebook/jest/pull/14036))
- `[@jest/transform]` Do not instrument `.json` modules ([#14048](https://github.com/facebook/jest/pull/14048))
- `[jest-mock]` Fix `jest.spyOn()` to correctly handle `0` as a method/property name ([#14082](https://github.com/facebook/jest/pull/14082))

### Chore & Maintenance

Expand Down

0 comments on commit a77fc46

Please sign in to comment.