Skip to content

Commit

Permalink
Flaky JS Test (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
987Nabil committed Feb 12, 2024
1 parent 1b417bc commit a804ab6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zio-http/js/src/test/scala/zio/http/JSClientSpec.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package zio.http

import zio._
import zio.test.TestAspect._
import zio.test._

object JSClientSpec extends ZIOSpecDefault {
Expand All @@ -12,7 +13,8 @@ object JSClientSpec extends ZIOSpecDefault {
response <- ZIO.serviceWithZIO[Client] { _.url(url"https://www.google.com").get("") }
string <- response.body.asString
} yield assertTrue(response.status.isSuccess, string.startsWith("<!doctype html>"))
},
} @@ flaky, // calling a real website is not the best idea.
// Should be replaced with a local server, as soon as we have js server support
),
// suite("WebSocket")(
// test("Echo") {
Expand Down

0 comments on commit a804ab6

Please sign in to comment.