~/talk

The Fresh Jest of Bel-Air

Talkat Frontend Developer Love 2019 · on Friday, 2019-02-15· [testing, javascript]
slides:none on file

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

  1. 0:00Start
  2. 3:34Verbose
  3. 3:46Redundant
  4. 4:02Generic error messages
  5. 5:23Essential
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.