A test that can see a control can fire it.
Install
The coordinate is the release this site advertises.
libraryDependencies ++= Seq(
"rocks.earlyeffect" %% "chekhov-zio-test" % "0.1.3" % Test,
"rocks.earlyeffect" %% "chekhov-driver" % "0.1.3" % Test,
)
libraryDependencies += "rocks.earlyeffect" %% "chekhov-core" % "0.1.3"
libraryDependencies += "rocks.earlyeffect" %%% "chekhov-dom" % "0.1.3" % Test
libraryDependencies += "rocks.earlyeffect" %%% "chekhov-ascent" % "0.1.3" % Test
// project/plugins.sbt
addSbtPlugin("rocks.earlyeffect" % "sbt-chekhov" % "0.1.3")
Chekhov.page
Chekhov.page is the page the test fiber gets from the environment. The method takes a context Trace and no ordinary parameter, so _.page(using _) does not pin Trace. This cite is Chekhov.page(using _), the symbol Chekhov.page.
def page(using Trace): URIO[Page, Page] =
ZIO.service[Page]