~/talk

Crushing React bugs with Jest and Enzyme

Talkat All Things Open 2020 · 2020-10-19..10-20· [react, testing]
links:none on file
slides:none on file

Walkthrough of concrete testing work: uses Jest and Enzyme on a React app built for the Red Hat Marketplace, configures an Enzyme adapter for the React version, and pushes example tests and a repo. Shows shallow versus mount, snapshot creation and a snapshot mismatch failure example, a modal interaction test that clicks a button and asserts an element gains an is-visible class, and a coverage report highlighting uncovered lines. Notes Enzyme pitfalls and using CodeSandbox to run tests.

AI-written summary · about

  1. 0:00Start
  2. 2:29About Me
  3. 4:55Setup
  4. 10:39Snapshot Testing Fail
  5. 11:31Coverage reports
~/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.