japgolly.scalajs.react.test
package japgolly.scalajs.react.test
Type members
Classlikes
class MockRouterCtlF[F[_], P](val baseUrl: BaseUrl, pageToPath: P => Path)(ff: Sync[F]) extends RouterCtlF[F, P]
Houses a variable and provides React-like access to it.
Houses a variable and provides React-like access to it.
Provides mock-like instances of the following:
- Reusable functions
- StateAccess
- StateSnapshot
- StateSnapshot with Reusability
It also keeps a log of changes, accessible via .history()
.
- Type Params
- A
The variable type.
- Since
0.11.0
- Companion
- object
Allows composition and abstraction of ReactTestUtils.Simulate
procedures.
Allows composition and abstraction of ReactTestUtils.Simulate
procedures.
- Companion
- object
class TestBroadcaster[I, A](initialValue: A, f: I => A) extends TestBroadcasterF[Sync, I, A] with Broadcaster[I]
- Companion
- object
Implicits
Implicits
Inherited implicits
final implicit def reactTestExtMountedImpure[A[_], P, S](m: MountedSimple[Id, A, P, S]): ReactTestExt_MountedSimple[Id, A, P, S]
- Inherited from
- ReactTestUtilExtensions
final implicit def reactTestExtMountedSimple[F[_], A[_], P, S](m: MountedSimple[F, A, P, S]): ReactTestExt_MountedSimple[F, A, P, S]
- Inherited from
- ReactTestUtilExtensions1