sapegin/jest-cheat-sheet resource
Jest cheat sheet 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: 3466
- days_rel: n/a
- days_push: 672
- n_releases_24m: 0
Adoption not part of the score
5421 stars · 701 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A community-maintained cheat sheet for the Jest JavaScript testing framework, covering test structure, matchers, async tests, and mocking patterns with concise code examples. It serves as a quick reference for developers writing unit tests with Jest.
Use cases
- look up Jest matcher syntax quickly
- learn how to mock modules and functions in Jest
- find examples of async testing with async/await and promises
- reference timer mocks and snapshot testing patterns
- write data-driven tests with test.each
- onboard a team to Jest testing conventions
When to choose
- you need a quick, copy-pasteable reference for Jest APIs
- you're learning Jest and want concise examples instead of full docs
- you're migrating tests and need to check Jest-specific mocking patterns
When to avoid
- you use Vitest or another test framework (see the author's Vitest cheat sheet instead)
- you need comprehensive official documentation or API details
- you need a runnable testing tool rather than a reference document
Facets
learning-resource · maturity active
testing mocking documentation testing developer-tools tutorials jest cheatsheet unit-testing reference-guide nodejs javascript
1 source
- readme: https://github.com/sapegin/jest-cheat-sheet · fetched 2026-08-28 · 131421532abd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sapegin/jest-cheat-sheet | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="sapegin/jest-cheat-sheet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem