Reserved. I ❤ React Testing Library • Make components testable • Provide data-testid="" attribute • Export all components • Test file extension: ComponentFile.test .jsx or .tsx • Test Shallow or Depth of Component? Decide. • Shallow – use jest mock import • Cheatsheet: https://testing-library.com/docs/react-testing- library/cheatsheet • userEvent.click, userEvent.clear, userEvent.type, etc. from @testing-library/user-event • render(), {container}, screen{}, debug(), getByTestId(), renderHook(), getByLabelText() Testing Components