diff --git a/jvm/src/test/scala/cs214/webapp/ServerSuite.scala b/jvm/src/test/scala/cs214/webapp/ServerSuite.scala index 0206568919a586a1628bae0157e33d27a9da3dd5..e45113107245d15ac1604157759a1d7af5e8a95f 100644 --- a/jvm/src/test/scala/cs214/webapp/ServerSuite.scala +++ b/jvm/src/test/scala/cs214/webapp/ServerSuite.scala @@ -19,7 +19,7 @@ given unsafeURI: Conversion[String, Uri] with case class WebServerInfo(uri: String): override def toString = uri -class ServerSuite extends munit.FunSuite: +object ServerSuite: type Ping = String type Pong = String type State = String @@ -62,7 +62,9 @@ class ServerSuite extends munit.FunSuite: println(f"Elapsed: ${(end - start) / 1000000} ms") result +class ServerSuite extends munit.FunSuite: import sttp.client4.quick.* + import ServerSuite.* test("The main and app-selection pages respond to requests"): withServer: ws ?=>