Renders a component into the document so that
Renders a component into the document so that
- you can easily change props and/or state. - it is unmounted when the test is over.
0.11.0
Mock RouterCtl that does nothing but record events.
Mock RouterCtl that does nothing but record events.
Call events() to inspect recorded events, and clear() to clear them.
A JS object with a state variable.
A JS object with a state variable.
Houses a variable and provides React-like access to it.
Houses a variable and provides React-like access to it.
It can be used to mock an ExternalVar[A]
, a ReusableVar[A]
and a CompState.Access[A]
.
It also keeps a log of changes, accessible via .history()
.
The variable type.
0.11.0
Allows composition and abstraction of ReactTestUtils.Simulate
procedures.
https://facebook.github.io/react/docs/test-utils.html
https://facebook.github.io/react/docs/test-utils.html
Allows you to test a component that requires access to some external component state.
Allows you to test a component that requires access to some external component state.
0.11.0