~/talk

Testing Library Meets React Native

Talkat React Native EU 2020 · 2020-09-03..09-04· [react-native, testing]
links:none on file
slides:none on file

A thin layer on top of react-test-renderer becomes a concrete React Native testing library that supports deep rendering, Jest, msw mocks, fireEvent and accessibility queries; it fixes a bug where getByTestId returned non-native instances, auto-wraps async findBy queries in act, and removed shallow rendering to discourage implementation testing. Two nearly identical libraries appear, thousands of users adopt one within six months, and after API alignment and a v2 migration strategy the projects consolidate into @testing-library/react-native and continue maintained.

AI-written summary · about

  1. 0:00Start
  2. 7:14Imports
  3. 7:31Mocks
  4. 7:52Tests
  5. 13:34Jest's "testEnvironment"
  6. 16:12Early APIs render
  7. 18:30License
  8. 20:51Why was it created?
  9. 21:33Negotiations
  10. 24:52RNTL v2
  11. 29:24Migration guides
~/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.