sdk-javascript/test/integration
Calum Murray 6977113d7b
fix: creating an event does not error when the event attribute name is too long (#593)
* fix: creating an event does not error when the event attribute name is too long

* From the spec, the requirement for the length of attribute names is only a SHOULD, not a MUST. Currently, if the length is over 20 then the sdk throws an error, which I believe is incorrect because the length requirement is not a MUST.

Signed-off-by: Calum Murray <cmurray@redhat.com>

* fix(test): test expects not to throw

Signed-off-by: Calum Murray <cmurray@redhat.com>

---------

Signed-off-by: Calum Murray <cmurray@redhat.com>
2024-07-22 13:22:43 -04:00
..
batch_test.ts feat: add support for kafka transport (#455) 2022-01-07 16:14:09 -05: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: creating an event does not error when the event attribute name is too long (#593) 2024-07-22 13:22:43 -04:00
constants_test.ts chore: add copyrights header and lint rules (#418) 2021-05-14 09:28:49 -04:00
emitter_factory_test.ts feat!: add http transport and remove axios (#481) 2022-03-18 13:36:12 -04:00
emitter_singleton_test.ts feat: add support for kafka transport (#455) 2022-01-07 16:14:09 -05:00
kafka_tests.ts BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
message_test.ts BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
mqtt_tests.ts BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
parser_test.ts feat!: remove node 12 and node 14 (#545) 2023-05-03 11:10:47 -04:00
sdk_test.ts BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
spec_1_tests.ts BREAKING CHANGE: use string instead of enum for `Version` (#561) 2023-07-19 10:53:03 -04:00
utilities_test.ts chore: add copyrights header and lint rules (#418) 2021-05-14 09:28:49 -04:00