sdk-javascript/test/integration
Lance Ball 14468980f7
fix: do not alter an event's data attribute (#344)
* fix: do not alter an event's data attribute

When setting an event's data attribute we were trying to be really clever
and this is problematic. Instead, keep the data attribute unchanged. Per
the 1.0 specification, the data attribute is still inspected to determine
if it is binary, and if so, a data_base64 attribute is added with the
contents of the data property encoded as base64.

Fixes: https://github.com/cloudevents/sdk-javascript/issues/343

Signed-off-by: Lance Ball <lball@redhat.com>
2020-10-06 08:20:54 -04:00
..
ce.png fix: do not alter an event's data attribute (#344) 2020-10-06 08:20:54 -04:00
cloud_event_test.ts fix: do not alter an event's data attribute (#344) 2020-10-06 08:20:54 -04:00
constants_test.ts lib: expose constants in a more intuitive way (#299) 2020-08-04 09:42:28 -04:00
emitter_factory_test.ts fix: do not alter an event's data attribute (#344) 2020-10-06 08:20:54 -04:00
http_emitter_test.ts feat: add emitterFactory and friends (#342) 2020-09-25 17:25:15 -04:00
http_receiver_test.ts refactor: combine v03 and v1 event interfaces, specs and schemas into single files(#270) 2020-07-24 15:35:18 -04:00
message_test.ts fix: do not alter an event's data attribute (#344) 2020-10-06 08:20:54 -04:00
parser_test.ts refactor: simplify parser logic and duplicated code (#269) 2020-07-24 15:08:52 -04:00
sdk_test.ts feat: introduce Message, Serializer, Deserializer and Binding interfaces (#324) 2020-08-26 18:26:50 -04:00
spec_1_tests.ts fix: do not alter an event's data attribute (#344) 2020-10-06 08:20:54 -04:00
spec_03_tests.ts fix: do not alter an event's data attribute (#344) 2020-10-06 08:20:54 -04:00
utilities_test.ts feat: simplify validation logic/imports (#265) 2020-07-23 16:09:07 -07:00