mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-30 22:00:53 +08:00
chore: generate
This commit is contained in:
committed by
Aiden Cline
parent
20756e0ee4
commit
71d196d3cd
@@ -169,10 +169,9 @@ describe("cross-spawn spawner", () => {
|
||||
'process.stderr.write("stderr\\n", done)',
|
||||
].join("\n"),
|
||||
)
|
||||
const [stdout, stderr] = yield* Effect.all(
|
||||
[decodeByteStream(handle.stdout), decodeByteStream(handle.stderr)],
|
||||
{ concurrency: 2 },
|
||||
)
|
||||
const [stdout, stderr] = yield* Effect.all([decodeByteStream(handle.stdout), decodeByteStream(handle.stderr)], {
|
||||
concurrency: 2,
|
||||
})
|
||||
expect(stdout).toBe("stdout")
|
||||
expect(stderr).toBe("stderr")
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user