Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/cli/test/in-memory-store.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ describe("inMemoryStartFailuresKey", () => {
const exitCode = process.exitCode
expect(Exit.isFailure(await fail())).toBe(true)
await fail()
process.exitCode = exitCode
// `?? 0`, not the raw value: assigning `undefined` back is a no-op in Bun, so the 78 a
// chDB refusal sets would leak out and fail the whole run with every test passing.
process.exitCode = exitCode ?? 0

const record = await Effect.runPromise(
readStartFailureRecord(key).pipe(Effect.provide(BunServices.layer)),
Expand Down