japgolly.scalajs.react.test
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MockRouterCtl.type
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
-
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MockRouterCtlF.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ReactEventType.type
Attributes
- Companion
- trait
- Supertypes
-
trait ReactTestUtils2trait ReactTestUtilExtensionstrait ReactTestUtilExtensions1class Objecttrait Matchableclass AnyShow all
- Self type
-
ReactTestUtils2.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object ReactTestUtils2.type
Attributes
- Supertypes
-
trait ReactTestUtilsConfigTypesclass Objecttrait Matchableclass Any
- Self type
-
ReactTestUtilsConfig.type
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
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReactTestVarF.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SimEvent.type
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
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Simulation.type
Attributes
- Companion
- object
- Supertypes
-
trait Broadcaster[I]trait Listenable[I]trait BroadcasterF[Sync, I]trait ListenableF[Sync, I]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TestBroadcaster.type
Attributes
- Supertypes
-
trait BroadcasterF[F, I]trait ListenableF[F, I]class Objecttrait Matchableclass Any
- Known subtypes
-
- Self type
-
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TestContainer.type
Wraps a DOM container and provides utilities for testing its state.
Wraps a DOM container and provides utilities for testing its state.
As an example `testContainer.innerHTML.assert("
Welcome")`
Attributes
- Since
-
2.2.0
- Companion
- object
- Supertypes
- Known subtypes
-
trait TestReactRoot
Wraps a DOM and provides utilities for testing its state.
Wraps a DOM and provides utilities for testing its state.
As an example `testDom.outerHTML.assert("
Welcome")`
Attributes
- Since
-
2.2.0
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TestDomWithRoot.type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TestReactRoot.type
Wraps a React Root (introduced in React 18) and provides utilities for testing its state.
Wraps a React Root (introduced in React 18) and provides utilities for testing its state.
As an example `testRoot.innerHTML.assert("
Welcome")`
Attributes
- Since
-
2.2.0 / React 18
- Companion
- object
- Supertypes
Deprecated classlikes
Attributes
- Companion
- trait
- Deprecated
- true
- Supertypes
-
trait ReactTestUtilstrait ReactTestUtilExtensionstrait ReactTestUtilExtensions1class Objecttrait Matchableclass AnyShow all
- Self type
-
ReactTestUtils.type
Attributes
- Companion
- object
- Deprecated
- true
- Supertypes
- Known subtypes
-
object ReactTestUtils.type
Implicits
Implicits
Inherited implicits
Attributes
- Inherited from:
- ReactTestUtilExtensions
Attributes
- Inherited from:
- ReactTestUtilExtensions1