test(web): stabilize processMessage inbound contract cleanup

This commit is contained in:
Peter Steinberger 2026-02-15 00:16:06 +00:00
parent a6fda4ae8e
commit 9eb749b0a6

View File

@ -22,7 +22,7 @@ vi.mock("../../../auto-reply/reply/provider-dispatcher.js", () => ({
vi.mock("./last-route.js", () => ({
trackBackgroundTask: (tasks: Set<Promise<unknown>>, task: Promise<unknown>) => {
tasks.add(task);
task.finally(() => {
void task.finally(() => {
tasks.delete(task);
});
},