This page collects the most important Jest APIs, matchers, and CLI flags from across the entire course into one quick-reference cheat sheet.
How to Use This Cheat Sheet
Each table below focuses on one area of Jest: core test structure, matchers, mocking, async testing, snapshots, coverage, and the CLI. Bookmark this page and use it as a lookup reference while writing tests, rather than re-reading full lessons for a syntax reminder.
Treating this cheat sheet as a substitute for understanding why each API behaves the way it does.
Forgetting .resolves/.rejects still require await.
Using .toBe() where .toEqual() belongs, even with this reference open.
Not bookmarking this page for quick lookups during real project work.
Key Takeaways
This cheat sheet consolidates matchers, mocking, async, snapshot, and coverage references in one place.
Use it as a lookup tool, not a replacement for understanding the underlying concepts.
Combine it with your project's own jest.config.js for a complete quick-reference setup.
Revisit specific lessons whenever a cheat sheet entry needs a deeper refresher.
Pro Tip
Keep this cheat sheet page open in a browser tab while writing tests for the first few weeks — most developers stop needing it once the core matcher and mocking APIs become muscle memory.
You now have a complete Jest quick-reference. Next, explore curated resources for continuing to learn Jest beyond this course.