chore: generate
This commit is contained in:
parent
aa8a41d1b8
commit
10c90eb445
3 changed files with 13 additions and 10 deletions
|
|
@ -101,10 +101,7 @@ describe("AppProcess", () => {
|
|||
"truncates stderr when maxErrorBytes is set",
|
||||
Effect.gen(function* () {
|
||||
const svc = yield* AppProcess.Service
|
||||
const result = yield* svc.run(
|
||||
cmd("-e", "process.stderr.write('0123456789')"),
|
||||
{ maxErrorBytes: 5 },
|
||||
)
|
||||
const result = yield* svc.run(cmd("-e", "process.stderr.write('0123456789')"), { maxErrorBytes: 5 })
|
||||
expect(result.exitCode).toBe(0)
|
||||
expect(result.stdoutTruncated).toBe(false)
|
||||
expect(result.stderrTruncated).toBe(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue