Refactor v2 session events as schemas (#24512)
This commit is contained in:
parent
1409a0715c
commit
a3bc5d35b0
62 changed files with 12473 additions and 5687 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue