~/talk

Stop Using the Console to Test Components

TalkinRussianat HolyJS 2020 Moscow · 2020-11-25..11-28· [testing]
slides:none on file

The talk argues against using jsdom/Jest in Node.js for UI component testing and explains why jsdom is insufficient. It surveys more reliable alternatives to jsdom and demonstrates, via a workshop, how Cypress.io approaches component testing differently in practice.

AI-written summary · about

  1. 0:00Introduction
  2. 4:05Console limits for components
  3. 11:27Jest DOM limits
  4. 29:56Shallow rendering issues
  5. 36:39Jest DOM vs Karma
  6. 44:42Ideal tool requirements
  7. 51:47SayPress solution
  8. 59:35Browser tests in SayPress
  9. 1:02:47Q&A
~/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.