Socket
Socket
Sign inDemoInstall

@jest/expect

Package Overview
Dependencies
2
Maintainers
6
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jest/expect

This package extends `expect` library with `jest-snapshot` matchers. It exports `jestExpect` object, which can be used as standalone replacement of `expect`.


Version published
Maintainers
6
Created

Changelog

Source

29.2.2

Fixes

  • [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476)
  • [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504)
  • [jest-mock] Ensure mock resolved and rejected values are promises from correct realm (#13503)
  • [jest-snapshot] Don't highlight passing asymmetric property matchers in snapshot diff (#13480)

Chore & Maintenance

  • [docs] Update link to Jest 28 upgrade guide in error message (#13483)
  • [jest-runner, jest-watcher] Update emittery (#13490)

Readme

Source

@jest/expect

This package extends expect library with jest-snapshot matchers. It exports jestExpect object, which can be used as standalone replacement of expect.

The jestExpect function used in Jest. You can find its documentation on Jest's website.

FAQs

Last updated on 24 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc