( config: Config.Config<A>, map: ReadonlyArray<readonly [string, string]>, error: ConfigError.ConfigError )
| 25 | ) |
| 26 | |
| 27 | const assertConfigError = <A>( |
| 28 | config: Config.Config<A>, |
| 29 | map: ReadonlyArray<readonly [string, string]>, |
| 30 | error: ConfigError.ConfigError |
| 31 | ) => { |
| 32 | const configProvider = ConfigProvider.fromMap(new Map(map)) |
| 33 | const result = Effect.runSyncExit(configProvider.load(config)) |
| 34 | assertFailure(result, Cause.fail(error)) |
| 35 | } |
| 36 | |
| 37 | const assertConfig = <A>( |
| 38 | config: Config.Config<A>, |
no test coverage detected