Skip to content

Releases: duailibe/jest-json

v2.0.0

09 Dec 02:02
Compare
Choose a tag to compare

Breaking

  • Only works on Jest >= 27.2.5

v1.1.1

08 Dec 15:54
Compare
Choose a tag to compare

Fixes

  • Fix typings (#6)

    If we restrict toMatchJSON to only accept records, we can't actually compare arrays.
    At the moment, compiling expect("[]").toMatchJSON([]) fails.

    Setting expected to any should fix that.

1.1.0

07 Oct 21:13
Compare
Choose a tag to compare
  • Fix an error when using a jsonMatching() inside a arrayContaining()