sandbox-agent/foundry/packages/backend/test/setup.ts
Nathan Flurry d75e8c31d1
Rename Foundry handoffs to tasks (#239)
* Restore foundry onboarding stack

* Consolidate foundry rename

* Create foundry tasks without prompts

* Rename Foundry handoffs to tasks
2026-03-11 13:23:54 -07:00

9 lines
368 B
TypeScript

// Suppress RivetKit traces driver flush errors that occur during test cleanup.
// These happen when the traces driver tries to write after actor state is unloaded.
process.on("unhandledRejection", (reason) => {
if (reason instanceof Error && reason.message.includes("state not loaded")) {
return;
}
// Re-throw non-suppressed rejections
throw reason;
});