weaver.BaseIOSuites.scala Maven / Gradle / Ivy
package weaver
import cats.effect.{ ContextShift, IO, Timer }
trait BaseIOSuite extends BaseCatsSuite { self: RunnableSuite[IO] =>
implicit protected def effectCompat: UnsafeRun[EffectType] = CatsUnsafeRun
def unsafeRun: UnsafeRun[EffectType] = CatsUnsafeRun
final implicit protected def contextShift: ContextShift[IO] =
effectCompat.contextShift
final implicit protected def timer: Timer[IO] = effectCompat.timer
def getSuite: EffectSuite[IO] = this
}
trait BaseFunIOSuite extends FunSuiteF[IO] with BaseCatsSuite {
override implicit protected def effectCompat: UnsafeRun[EffectType] =
CatsUnsafeRun
def getSuite: EffectSuite[IO] = this
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy