jacket library

Classes

TestJacket<T extends Component>
Provides more a more consistent and easier to use API to test and manipulate a rendered ReactComponent.

Functions

mount<T extends Component>(ReactElement reactElement, {Element? mountNode, bool attachedToDocument = false, bool autoTearDown = true}) TestJacket<T>
Renders reactElement, and returns a TestJacket instance to use in a test.