You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(cmc): contract test for readOffer wire-shape (streams not streamIds)
Stubs pryv.Connection so the cmc.readOffer call can be unit-tested
end-to-end against an asserted apiOne wire-shape. Catches the class
of bug where an events.get caller uses streamIds (the events.create
write-target field) instead of streams (the recursive read filter) —
the api-server schema rejects the wrong field with
OBJECT_ADDITIONAL_PROPERTIES, but the previous unit suite only
mocked Connection.apiOne and never asserted on the params shape.
0 commit comments