Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Feb 19, 2019
1 parent d964024 commit 367d65a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- `[jest-cli]` Fix prototype pollution vulnerability in dependency ([#7904](https://github.com/facebook/jest/pull/7904))
- `[jest-cli]` Refactor `-o` and `--coverage` combined ([#7611](https://github.com/facebook/jest/pull/7611))
- `[expect]` Fix custom async matcher stack trace ([#7652](https://github.com/facebook/jest/pull/7652))
- `[expect]` `toStrictEqual` does not consider arrays with objects having undefined values correctly ([#7938](https://github.com/facebook/jest/pull/7938))
- `[jest-changed-files]` Improve default file selection for Mercurial repos ([#7880](https://github.com/facebook/jest/pull/7880))
- `[jest-validate]` Fix validating async functions ([#7894](https://github.com/facebook/jest/issues/7894))
- `[jest-circus]` Fix bug with test.only ([#7888](https://github.com/facebook/jest/pull/7888))
Expand Down
3 changes: 1 addition & 2 deletions packages/expect/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@ export const sparseArrayEquality = (a: any, b: any) => {
const aKeys = Object.keys(a);
const bKeys = Object.keys(b);
return (
equals(a, b, [iterableEquality, typeEquality], true) &&
equals(aKeys, bKeys)
equals(a, b, [iterableEquality, typeEquality], true) && equals(aKeys, bKeys)
);
};

Expand Down

0 comments on commit 367d65a

Please sign in to comment.