strimzi / strimzi-ui

Strimzi UI
Apache License 2.0
26 stars 27 forks source link

Pattern for extending RTL functionality. E.g. creating `withX` functions that get passed to `render`. #138

Closed matthew-chirgwin closed 3 years ago

matthew-chirgwin commented 3 years ago

Content to follow

JQrdan commented 3 years ago

The aim with this is to create a test utility that converts RTL render into a builder pattern. Allowing us to chain together wrapping utilities without it becoming a mess. For example:

const renderResult = myComponent.withRouter().withConfigProvider().render();
github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days