mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-20 07:04:38 +00:00
Rename Factory to Foundry
This commit is contained in:
parent
0a8fda040b
commit
324de36577
256 changed files with 605 additions and 603 deletions
9
foundry/packages/backend/test/setup.ts
Normal file
9
foundry/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