(
run: (runtime: Runtime, workspace: TestWorkspace) => Promise<T>
)
| 154 | ) => execBuffered(runtime, command, { cwd: workspace.path, timeout: 30, ...options }); |
| 155 | |
| 156 | const withRuntimeWorkspace = async <T>( |
| 157 | run: (runtime: Runtime, workspace: TestWorkspace) => Promise<T> |
| 158 | ): Promise<T> => { |
| 159 | const runtime = createRuntime(); |
| 160 | await using workspace = await TestWorkspace.create(runtime, type); |
| 161 | return await run(runtime, workspace); |
| 162 | }; |
| 163 | |
| 164 | describe("exec() - Command execution", () => { |
| 165 | testForRuntime("captures stdout and stderr separately", async () => { |
no test coverage detected