( program: Effect.Effect<void, never, Configuration.Configuration | Domain.Process> )
| 93 | ) |
| 94 | |
| 95 | const testCliFor = ( |
| 96 | program: Effect.Effect<void, never, Configuration.Configuration | Domain.Process> |
| 97 | ) => { |
| 98 | const command = CLI.docgenCommand.pipe( |
| 99 | Command.withHandler(() => program), |
| 100 | Command.provideEffect(Configuration.Configuration, CLI.loadConfiguration) |
| 101 | ) |
| 102 | return Command.runWith(command, { version: "v1.0.0" }) |
| 103 | } |
| 104 | |
| 105 | describe("Configuration", () => { |
| 106 | it.effect("should use the default configuration if no configuration is provided", () => { |
no test coverage detected