package raw
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- trait RenderedInstance extends Object
- Annotations
- @RawJSType() @native()
- trait TestInstance extends Object with RenderedInstance
- Annotations
- @RawJSType() @native()
- trait TestRenderer extends Object
- Annotations
- @RawJSType() @native()
- trait TestRendererOptions extends Object
- Annotations
- @ScalaJSDefined() @RawJSType()
Deprecated Type Members
- trait ShallowInstance extends Object with RenderedInstance
- Annotations
- @RawJSType() @native() @deprecated
- Deprecated
(Since version 0.5.1) Will be removed soon, use TestInstance instead
- class ShallowRenderer extends Object
You can think of the shallowRenderer as a "place" to render the component you're testing, and from which you can extract the component's output.
You can think of the shallowRenderer as a "place" to render the component you're testing, and from which you can extract the component's output.
- Annotations
- @RawJSType() @JSImport("react-test-renderer/shallow", JSImport.Default) @native() @deprecated
- Deprecated
(Since version 0.5.1) Will be removed soon, use TestRenderer instead
- See also
https://reactjs.org/docs/shallow-renderer.html
Value Members
- object TestRenderer extends Object
Facade for React TestRenderer.
Facade for React TestRenderer.
- Annotations
- @JSImport("react-test-renderer", JSImport.Namespace) @native()
- See also
https://reactjs.netlify.com/docs/test-renderer.html