-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from senia-psm/zio_2.0.0
zio 2.0.0
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
package zio.test.akkahttp | ||
|
||
import zio._ | ||
import zio.test.{Spec, TestEnvironment, ZIOSpec} | ||
import zio.test.{testEnvironment, Spec, TestEnvironment, ZIOSpec} | ||
|
||
trait AkkaZIOSpecDefault extends ZIOSpec[RouteTestEnvironment.TestEnvironment with TestEnvironment] with RouteTest { | ||
|
||
override val bootstrap | ||
: ZLayer[ZIOAppArgs with Scope, Any, RouteTestEnvironment.TestEnvironment with TestEnvironment] = | ||
zio.ZEnv.live >>> TestEnvironment.live >+> RouteTestEnvironment.environment | ||
override val bootstrap: ZLayer[Scope, Any, RouteTestEnvironment.TestEnvironment with TestEnvironment] = | ||
testEnvironment >+> RouteTestEnvironment.environment | ||
|
||
def spec: Spec[RouteTestEnvironment.TestEnvironment with TestEnvironment with Scope, Any] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters