# jest-community/jest-extended

Additional Jest matchers 🃏💪

Repository: https://github.com/jest-community/jest-extended
Canonical: https://ross.abutalabs.com/products/jest-extended
Homepage: https://jest-extended.jestcommunity.dev/
Language: TypeScript
License: MIT
License Family: permissive
Topics: jest, matchers, assertions, testing, tdd, extended
Last push: 2026-08-26T18:58:56+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 55, longevity 100
- inputs: {"age_days": 3245, "days_push": 7, "days_rel": 301, "gap_med": 1, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2350, forks 227 (observed 2026-08-28T04:06:40.317160+00:00)

## What it is
jest-extended is a TypeScript library that adds many additional assertion matchers to Jest's expect API, covering arrays, strings, numbers, objects, dates, mocks, promises, and more. It is community-maintained under the jest-community organization and distributed via npm.

## Use cases
- assert array contents more precisely in jest tests
- check if a value is a string, number, or boolean in tests
- test that a mock was called before another mock
- assert date comparisons like before, after, or between ranges
- verify object keys and values in jest assertions
- test that a promise resolves or rejects
- write more readable tdd assertions in jest

## When to choose
- you use Jest and find its built-in matchers too limited for your assertions
- you want expressive, readable matchers for common data types without writing custom ones
- you need mock call-order assertions or promise resolution checks

## When to avoid
- you use a test framework other than Jest or Vitest
- you only need a handful of matchers and prefer writing custom ones
- your project cannot add dev dependencies

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing, developer-tools
- domain: testing, developer-tools
- platform: cross-platform
- tags: jest, matchers, assertions, tdd, unit-testing, typescript, javascript, nodejs

## Member repositories
- jest-community/jest-extended (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.317160+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:36:55.998175+00:00, confidence not recorded.
  - readme: https://github.com/jest-community/jest-extended (fetched 2026-08-28T04:06:40.317160+00:00, sha 868268bfe701)
  - homepage: https://jest-extended.jestcommunity.dev/ (fetched 2026-08-29T10:17:43.848272+00:00, sha b152ca25413a)
  - site_page: https://jest-extended.jestcommunity.dev/docs (fetched 2026-08-29T10:17:43.857751+00:00, sha 3a9753f1a765)
  - site_page: https://jest-extended.jestcommunity.dev/docs/matchers (fetched 2026-08-29T10:17:43.860142+00:00, sha f8ff0de8c1c9)
  - site_page: https://jest-extended.jestcommunity.dev/docs/getting-started/install (fetched 2026-08-29T10:17:43.862135+00:00, sha 9dbc08dae2a3)
  - registry_npm: https://registry.npmjs.org/jest-extended (fetched 2026-08-29T10:17:43.864059+00:00, sha 9b8c9d5f6355)
- Data as of 2026-08-30T08:39:29.467469+00:00.
