Skip to content

Commit

Permalink
dummy test to increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFradet committed Jun 9, 2017
1 parent 8226339 commit af9d958
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -66,6 +66,7 @@ class CatsEffectJSSpec extends AsyncFunSuite with Matchers {
.exec[IO, SimpleHttpResponse](headerUserAgent)

testEffectOnRunAsync(response, { r: GHResponse[User] =>
println(r)
r.isRight shouldBe true
r.right.map(_.statusCode) shouldBe Right(okStatusCode)
})
Expand All @@ -80,4 +81,9 @@ class CatsEffectJSSpec extends AsyncFunSuite with Matchers {
r.isLeft shouldBe true
})
}

// only here for the 80% coverage, to remove once JS makes use of Captures
test("IOCapture == IO.pure") {
ioCaptureInstance.capture("a") shouldBe IO.pure("a")
}
}

0 comments on commit af9d958

Please sign in to comment.