Strengthen async run store interaction assertions

Co-authored-by: Eric Allam <eric@trigger.dev>
This commit is contained in:
Cursor Agent
2026-02-15 00:27:06 +00:00
parent c0fa99506a
commit bc9e06c674
+3
View File
@@ -1078,6 +1078,9 @@ describe("TriggerChatTransport", function () {
expect(runStore.setCalls).toContain("chat-async");
expect(runStore.getCalls).toContain("chat-async");
expect(runStore.getCalls.length).toBeGreaterThan(0);
expect(runStore.setCalls.length).toBeGreaterThan(0);
expect(runStore.deleteCalls.length).toBeGreaterThan(0);
await expect(runStore.get("chat-async")).resolves.toBeUndefined();
});