You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
582 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. package wow.doge.http4sdemo
  2. import scala.concurrent.Future
  3. import cats.syntax.all._
  4. import io.odin.Logger
  5. import io.odin.fileLogger
  6. import io.odin.syntax._
  7. import monix.bio.Task
  8. import monix.execution.Scheduler
  9. import munit.TestOptions
  10. import java.time.LocalDateTime
  11. trait MonixBioSuite extends munit.TaglessFinalSuite[Task] {
  12. override protected def toFuture[A](f: Task[A]): Future[A] = {
  13. implicit val s = Scheduler.global
  14. f.runToFuture
  15. }
  16. val date = LocalDateTime.now()
  17. val noopLogger = Logger.noop[Task]
  18. val consoleLogger = io.odin.consoleLogger[Task]()
  19. }