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


Version published
Maintainers
6
Created

Changelog

Source

29.2.1

Features

  • [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440)

Fixes

  • [jest-environment-node] make globalThis.performance writable for Node 19 and fake timers (#13467)
  • [jest-mock] Revert #13398 to restore mocking of setters (#13472)

Performance

  • [*] Use sha1 instead of sha256 for hashing (#13421)

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 18 Oct 2022

Did you know?

Socket

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc