mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-19 00:25:23 +00:00
wip
This commit is contained in:
parent
aa332307e5
commit
b372383cfd
47 changed files with 1845 additions and 1212 deletions
|
|
@ -164,6 +164,9 @@ describe("RemoteSubscriptionManager", () => {
|
|||
},
|
||||
} satisfies OrganizationEvent);
|
||||
|
||||
// applyEvent chains onto an internal promise — flush the microtask queue
|
||||
await flushAsyncWork();
|
||||
|
||||
expect(manager.getSnapshot("organization", params)?.taskSummaries[0]?.title).toBe("Updated task");
|
||||
expect(listenerA).toHaveBeenCalled();
|
||||
expect(listenerB).toHaveBeenCalled();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue