npm package
Homeexpect
The `expect` package exports the `expect` function used in Jest for writing assertions in tests. It is essential for validating outcomes in unit and integration tests. This package is integral to testing frameworks that require assertion capabilities.
- lurq health score
- 82/100
- Confidence
- proven
- Weekly downloads
- 44,684,429
- Latest version
- 30.5.2
- Last release
- Sep 18, 2026
- License
- MIT
Should you depend on expect?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks expect at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading expect
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 29.7.0 → 30.5.2being extracted
- 28.1.3 → 29.7.0being extracted
- 27.5.1 → 28.1.3being extracted
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @middy/util93/100 · proven
- jsdom90/100 · proven
- mocha90/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.