2.0.4 • Published 6 years ago
@zendeskgarden/react-testing v2.0.4
@zendeskgarden/react-testing 
This package includes utilities relating to testing in the Garden Design System.
Installation
npm install @zendeskgarden/react-testing
# Peer Dependencies - Also Required
npm install react enzyme @zendeskgarden/react-theming
Enzyme Utilities
When testing Garden components with enzyme, many times you are
required to wrap our components with a ThemeProvider.
Additionally, you may have custom RTL logic that you would like to easily test without modifying
an additional ThemeProvider
.
To simplify this we provide two wrappers around the enzyme shallow
and mount
renderers that
allow easy RTL and theme testing.