japgolly.scalajs.react.test
package japgolly.scalajs.react.test
Members list
Packages
Type members
Classlikes
class MockRouterCtl[P](baseUrl: BaseUrl, pageToPath: P => Path) extends MockRouterCtlF[Sync, P]
object MockRouterCtl
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MockRouterCtl.type
class MockRouterCtlF[F[_], P](val baseUrl: BaseUrl, pageToPath: P => Path)(implicit ff: Sync[F]) extends RouterCtlF[F, P]
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.
Attributes
- Companion
- object
- Supertypes
-
class RouterCtlF[F, P]class Objecttrait Matchableclass Any
- Known subtypes
-
class MockRouterCtl[P]
- Self type
-
object MockRouterCtlF
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MockRouterCtlF.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
object ReactEventType
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ReactEventType.type
object ReactTestUtils extends ReactTestUtils
Attributes
- Companion
- trait
- Supertypes
-
trait ReactTestUtilstrait ReactTestUtilExtensionstrait ReactTestUtilExtensions1class Objecttrait Matchableclass AnyShow all
- Self type
-
ReactTestUtils.type
trait ReactTestUtils extends ReactTestUtilExtensions
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object ReactTestUtils.type
object ReactTestUtilsConfig extends ReactTestUtilsConfigTypes
Attributes
- Supertypes
-
trait ReactTestUtilsConfigTypesclass Objecttrait Matchableclass Any
- Self type
-
ReactTestUtilsConfig.type
object ReactTestVar
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReactTestVar.type
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 parameters
- A
-
The variable type.
Attributes
- Since
-
0.11.0
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object ReactTestVarF
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReactTestVarF.type
object SimEvent
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SimEvent.type
object Simulate
https://reactjs.org/docs/test-utils.html#simulate
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Simulate.type
Allows composition and abstraction of ReactTestUtils.Simulate
procedures.
Allows composition and abstraction of ReactTestUtils.Simulate
procedures.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object Simulation
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Simulation.type
class TestBroadcaster[I, A](initialValue: A, f: I => A) extends TestBroadcasterF[Sync, I, A], Broadcaster[I]
Attributes
- Companion
- object
- Supertypes
-
trait Broadcaster[I]trait Listenable[I]trait BroadcasterF[Sync, I]trait ListenableF[Sync, I]class Objecttrait Matchableclass AnyShow all
object TestBroadcaster
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TestBroadcaster.type
abstract class TestBroadcasterF[F[_], I, A](initialValue: A, f: I => A) extends BroadcasterF[F, I]
Attributes
- Supertypes
-
trait BroadcasterF[F, I]trait ListenableF[F, I]class Objecttrait Matchableclass Any
- Known subtypes
-
- Self type
-
Implicits
Implicits
Inherited implicits
final implicit def reactTestExtMountedImpure[A[_], P, S](m: MountedSimple[Id, A, P, S]): ReactTestExt_MountedSimple[Id, A, P, S]
Attributes
- Inherited from:
- ReactTestUtilExtensions
final implicit def reactTestExtMountedSimple[F[_], A[_], P, S](m: MountedSimple[F, A, P, S]): ReactTestExt_MountedSimple[F, A, P, S]
Attributes
- Inherited from:
- ReactTestUtilExtensions1
In this article