mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-19 07:03:48 +00:00
Integrate OpenHandoff factory workspace
This commit is contained in:
parent
3d9476ed0b
commit
049504986b
251 changed files with 42824 additions and 692 deletions
9
factory/packages/backend/test/setup.ts
Normal file
9
factory/packages/backend/test/setup.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// 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;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue