You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

jest-react-mock

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-react-mock - npm Package Versions

2

3.2.0

Diff
nighttrax
published 3.2.0 •
nighttrax
published 3.1.2 •

Changelog

Source

3.1.2 (2022-11-01)

Features

  • Widen peer deps to include jest 29 (8df0cf2)
nighttrax
published 3.1.1 •

Changelog

Source

3.1.1 (2022-07-17)

Bug Fixes

  • Widen peer deps to include jest 28 (263d1c9)
nighttrax
published 3.1.0 •

Changelog

Source

3.1.0 (2021-08-26)

Features

  • Add optional times argument to toHaveBeenRendered (d4d4274)
nighttrax
published 3.0.1 •

Changelog

Source

3.0.1 (2021-07-16)

nighttrax
published 3.0.0 •

Changelog

Source

3.0.0 (2021-07-16)

⚠ BREAKING CHANGES

  • Node 10 is no longer supported.

Bug Fixes

build

nighttrax
published 2.0.1 •

Changelog

Source

2.0.1 (2021-02-21)

Bug Fixes

nighttrax
published 2.0.0 •

Changelog

Source

2.0.0 (2021-02-21)

⚠ BREAKING CHANGES

  • you no longer have to run expect.extend() yourself, just import the package in your test setup.

Features

  • Add toHaveProps (442cb5e)
  • Add IDE integration for diffing last props (e50b1e9)
  • Improve error messages (e077ea0)
  • Improve error messages for partial props (5553fa5)
  • Improve error messages when only one render (50b1ec6)
  • Print nice diff for toHaveProps (4291e0f)

Bug Fixes

  • Check mounted status, not render, for toBeMounted (b3aa149)

  • Only check last props for toHaveProps (82180df)

  • Support partial nesting in toHaveProps (aeb9804)

  • Automatically install matcher (7fd3c09)

nighttrax
published 1.2.0 •
nighttrax
published 1.1.1 •
2