mjackson/expect
Write better assertions observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4560
- days_rel: n/a
- days_push: 3037
- n_releases_24m: 0
Adoption not part of the score
2269 stars · 115 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
[email protected] is a minimal JavaScript assertion library for writing readable test assertions like expect(value).toEqual(3), with built-in spy support. Development was donated to Jest, so v21+ lives in facebook/jest and this repo only receives limited maintenance for pre-v21 versions.
Use cases
- write readable assertions in JavaScript unit tests
- replace verbose assert.equal calls with expect-style assertions
- create and inspect test spies without pulling in Sinon
- use a compact alternative to Chai in Node tests
- run assertions in the browser via a UMD script tag
When to choose
- you maintain a legacy codebase already using [email protected]
- you want a tiny, dependency-light assertion library with spy support
- you need browser-compatible assertions via UMD
When to avoid
- you are starting a new project - use Jest's expect or Chai instead
- you need actively maintained assertion features or bug fixes
- you want a full test runner rather than just assertions
Facets
library · maturity abandoned
testing e2e-testing testing developer-tools assertions test-assertions spies jest-donated umd nodejs javascript
1 source
- readme: https://github.com/mjackson/expect · fetched 2026-08-28 · dda446585bca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mjackson/expect | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem