test(present): pass the event to delivery matcher

This commit is contained in:
yudshj authored and Yudong Han committed 2026-09-09 01:15:31 +08:00
1 parent cd2b9ca04a
commit 72549e91a0
1 file changed
+1 -1
@@ -601,7 +601,7 @@ describe('presented files', () => {
it.each([null, [], 'invalid'])('declines non-object delivery data: %j', (data) => {
expect(deliverablesDefinition.match(at(1, 'deliverables/presented', data))).toBeNull()
expect(deliverablesDefinition.match(at(1, 'deliverables/presented', data).event)).toBeNull()
})
it.each([{}, { turn: '1', callId: 'bad', files: [] },