layer. I provide some test configuration and write my tests with:
it.layer(TestLayer)((it) => { it.effect(...)
it.layer(TestLayer)((it) => { it.effect(...)
Now I have a scenario where I want to override one of the configuration values in one of the tests, how do I do it? I tried these options but none of them work:
// inside test bodyconst serviceThatIamTesting = yield* ServiceThatIamTesting.pipe(Effect.provide(Layer.succeed(Configuration, Configuration.of(...))))
// inside test bodyconst serviceThatIamTesting = yield* ServiceThatIamTesting.pipe(Effect.provide(Layer.succeed(Configuration, Configuration.of(...))))