A wrapper for current component. Can be used for integration with react-router, react-redux or other component that provided context that used in target component
react-router
react-redux
See an example https://github.com/vtaits/react-integration-test-engine/blob/main/packages/react-integration-test-engine/src/tests/wrappers.test.tsx
react tree that should be wrapped
parameters of the wrapper
a tupple with first element is the wrapped react tree and the second element is the result of the wrapper that can be accessed from engine
Generated using TypeDoc
A wrapper for current component. Can be used for integration with
react-router
,react-redux
or other component that provided context that used in target componentSee an example https://github.com/vtaits/react-integration-test-engine/blob/main/packages/react-integration-test-engine/src/tests/wrappers.test.tsx