Skip to content

Commit

Permalink
Merge pull request #65 from SystemFw/main
Browse files Browse the repository at this point in the history
Don't use parasitic EC in ce2
  • Loading branch information
milanvdm authored Jan 21, 2021
2 parents f7986c4 + d53eedf commit 455d85f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ce2/shared/src/main/scala/munit/CatsEffectSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ package munit

import cats.effect.{ContextShift, IO, SyncIO, Timer}

import scala.concurrent.Future
import scala.concurrent.{Future, ExecutionContext}

abstract class CatsEffectSuite
extends FunSuite
with CatsEffectAssertions
with CatsEffectFunFixtures {

implicit def munitContextShift: ContextShift[IO] =
IO.contextShift(munitExecutionContext)
IO.contextShift(ExecutionContext.global)

implicit def munitTimer: Timer[IO] =
IO.timer(munitExecutionContext)
IO.timer(ExecutionContext.global)

override def munitValueTransforms: List[ValueTransform] =
super.munitValueTransforms ++ List(munitIOTransform, munitSyncIOTransform)
Expand Down

0 comments on commit 455d85f

Please sign in to comment.