MockRouterCtlF

japgolly.scalajs.react.test.MockRouterCtlF$
See theMockRouterCtlF companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

sealed trait Event[+P]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Refresh.type
class SetUrlToPage[P]
class SetUrlToPath
case object Refresh extends Event[Nothing]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Event[Nothing]
class Object
trait Matchable
class Any
Show all
Self type
Refresh.type
final case class SetUrlToPage[+P](page: P, mockPath: Path, via: SetRouteVia) extends Event[P]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Event[P]
class Object
trait Matchable
class Any
Show all
final case class SetUrlToPath(path: Path, via: SetRouteVia) extends Event[Nothing]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Event[Nothing]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply[F[_] : Sync, P](baseUrl: BaseUrl, pageToPath: P => Path): MockRouterCtlF[F, P]
def defaultBaseUrl: BaseUrl
def defaultPageToPath[P]: P => Path