Socket
Socket
Sign inDemoInstall

@jest/expect

Package Overview
Dependencies
152
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
Weekly downloads
15M
increased by2.36%
Maintainers
6
Created
Weekly downloads
 

Changelog

Source

29.3.0

Features

  • [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505)

Fixes

  • [jest-config] Add config validation for projects option (#13565)
  • [jest-mock] Treat cjs modules as objects so they can be mocked (#13513)
  • [jest-worker] Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)

Chore & Maintenance

  • [@jest/transform] Update convert-source-map (#13509)
  • [docs] Mention toStrictEqual in UsingMatchers docs. (#13560)

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 07 Nov 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