Refactor v2 session events as schemas (#24512)
This commit is contained in:
@@ -124,7 +124,7 @@ describe("SyncEvent", () => {
|
||||
yield* SyncEvent.use.run(Created, { id: "evt_1", name: "test" })
|
||||
yield* Effect.promise(() => received)
|
||||
expect(events).toHaveLength(1)
|
||||
expect(events[0]).toEqual({
|
||||
expect(events[0]).toMatchObject({
|
||||
type: "item.created",
|
||||
properties: {
|
||||
id: "evt_1",
|
||||
|
||||
Reference in New Issue
Block a user