~/talk

Jest Testing Library with Ariane Jurado de Bilbao

Talkat JSWorld Conference USA 2021 · on Friday, 2021-05-21· [testing, react]
links:none on file
slides:none on file

A clear, practical run-through that claims Jest plus Testing Library shorten the gap between unit tests and user-facing confidence, with a live demo of Jest + Testing Library showing file naming, arrange/act/assert structure, snapshot tests, and cleanup config. It actually mocks network calls — including mocking axios.get promise resolution and rejection and spy functions — and exercises user flows with user-event and accessibility-first queries like getByRole over getByText, all demonstrated working end-to-end.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50Adding tests
  3. 2:56Mocking
  4. 5:38Snapshot
  5. 6:41Cleanup
  6. 10:12Guestdog
  7. 10:50Priority list
  8. 13:00Query by
  9. 13:44User Events
  10. 14:45Throw Suggestions
~/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.