gamut-testing - Gamut React Component Testing
Write unit tests for React components using Gamut testing patterns
Tags
Updated: 2026-06-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write unit tests
- setup RTL render
- create test harness
- configure logical properties
- test RTL direction
- assert Emotion styles
Inputs
- React component
- component props
- theme token
- useLogicalProperties flag
- ColorMode
Outputs
- rendered view
- resolved props
- test assertion results
Requirements
- @codecademy/gamut-tests
- @codecademy/gamut-styles
- @testing-library/react
- @testing-library/user-event
