Testing Highlights Summary
Every highlight bullet from the 9 pages in this section, gathered on one page and grouped by the page it came from.
Busca en todas las páginas de la documentación
Every highlight bullet from the 9 pages in this section, gathered on one page and grouped by the page it came from.
jest-expo preset mocks Expo SDK modules so Jest runs without a simulatornpx expo install so versions match Expo SDK 57transformIgnorePatterns is the fix when Jest cannot parse ESM in node_modulesapp/ - use __tests__ or colocated *.test.tsx filestestIDscreen keeps queries scoped to the last render callfindBy* and waitFor for async state - never bare setTimeoutuserEvent is async - always await press and type@testing-library/react-native registers Jest matchers automaticallyjest-expo auto-mocks most Expo modules - you override only what your test asserts__mocks__/ adjacent to the module or via jest.mock inlinenode_modules importafterEach - leaked implementations cause order-dependent flakes.maestro/ - readable by QA and engineers alikeappId must match the installed bundle ID / application ID exactly.*, Welcome!) absorb minor copy and timing varianceexpo-detox-config-plugin after prebuild - Expo Go cannot run Detoxe2e/ and run through the detox CLI, not plain jesttestID props are the stable selectors Detox matchers rely onSTORYBOOK_ENABLED=true - zero Storybook code in productioncomposeStories) reuse CSF files in Jest without duplicating propstakeScreenshot + baseline diff - no built-in Chromatic for RN yetonDeviceUI: false when capturing screenshots so the Storybook chrome stays out of frameRevisado por Chris St. John·Última actualización: 18 jul 2026