The Fresh Jest of Bel-Air
summary
Jest claims to be the most widely used JS testing framework at 4 million weekly downloads and won highest satisfaction in State of JavaScript 2018. The session shows concrete code: a Bel‑Air Academy mock API, implementing expect.extend for custom matchers (toBeParent, toHaveFullName, toHaveGPA), asymmetric matchers for partial object checks, and a reusable custom snapshot matcher that calls toMatchSnapshot with property matchers. Live examples compile into clearer assertions and more informative failure messages.
AI-written summary · about
chapters (5)
related talks
16mJest Testing Library with Ariane Jurado de Bilbao
20mJest Testing
32mEnzyme/Jest React Components Testing by Hayk Barseghyan (Arm) | JSConfAM19
25mBuilding High-Quality JavaScript Tools
29mTest Like It's 2017
27mBuilding High-Quality JavaScript Tools
01h 02mWriting better tests for your JavaScript app
27mJest Snapshots and Beyond
