Skip to content

Commit

Permalink
Downgrade Jest to 24
Browse files Browse the repository at this point in the history
There's a bug where `toEqual` throws when comparing readonly properties,
which affects our JSX matchers.

jestjs/jest#9575

The bug is fixed in master, but not yet released.

Until then, downgrading to 24.
  • Loading branch information
acdlite committed Mar 24, 2020
1 parent dbd85a0 commit b451dd9
Show file tree
Hide file tree
Showing 2 changed files with 761 additions and 912 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -64,8 +64,8 @@
"google-closure-compiler": "^20200112.0.0",
"gzip-size": "^5.1.1",
"jasmine-check": "^1.0.0-rc.0",
"jest": "^25.1.0",
"jest-diff": "^25.1.0",
"jest": "^24.0.0",
"jest-diff": "^24.0.0",
"jest-snapshot-serializer-raw": "^1.1.0",
"minimatch": "^3.0.4",
"minimist": "^1.2.0",
Expand Down

0 comments on commit b451dd9

Please sign in to comment.