( out: Deno.CommandOutput, )
| 343 | } |
| 344 | |
| 345 | export function getStdOutput( |
| 346 | out: Deno.CommandOutput, |
| 347 | ): { stdout: string; stderr: string } { |
| 348 | const decoder = new TextDecoder(); |
| 349 | const stdout = colors.stripAnsiCode(decoder.decode(out.stdout)); |
| 350 | |
| 351 | const decoderErr = new TextDecoder(); |
| 352 | const stderr = colors.stripAnsiCode(decoderErr.decode(out.stderr)); |
| 353 | |
| 354 | return { stdout, stderr }; |
| 355 | } |
| 356 | |
| 357 | const ISLAND_FIXTURE_DIR = path.join(import.meta.dirname!, "fixtures_islands"); |
| 358 | const allIslandBuilder = new Builder({}); |
no outgoing calls
no test coverage detected