~/talk

Jest in Strict Mode – Finding and Preventing Flaky Tests (⚡️)

Talkat React Boston 2019 · 2019-09-21..09-22· [testing, react]
slides:none on file

Wayfair runs a test suite of over 13,000 Jest tests and discovers a surprising rate of hidden failures. The team builds a Jest plugin that enforces assertion-count enforcement and uses zone-based async tracking to catch promises and timers that fire after test completion. The tooling surfaces stack traces to the offending lines, prevents new flaky tests from entering the repo, and reveals about 3% of tests with false positives.

AI-written summary · about

  1. 0:00Start
  2. 2:54Test That Never Breaks
  3. 3:39Example of React Test
  4. 10:10Zone Js Library
  5. 12:17Live Demo
  6. 13:24Alternatives
~/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.