sdk-javascript/test/integration
Lance Ball b99f728190
fix: ensure that event data can be an array, number, boolean or null (#281)
The schema incorrectly limits data values to only object and string. This is
incorrect, since JSON can be an array, boolean, a single number or null as well.

This commit modifies the schema to allow for array, boolean and null, and adds
tests.

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

Signed-off-by: Lance Ball <lball@redhat.com>
2020-07-29 08:35:23 -04:00
..
cloud_event_test.ts fix: ensure that event data can be an array, number, boolean or null (#281) 2020-07-29 08:35:23 -04:00
constants_test.ts test: inplement the cucumber conformance tests from cloudevents/spec (#238) 2020-07-13 09:47:02 -04:00
http_binding_1.ts feat: simplify validation logic/imports (#265) 2020-07-23 16:09:07 -07:00
http_binding_03.ts feat(src): A CloudEvent should be readonly but provide a way to augment itself. (#234) 2020-07-13 15:15:32 -04:00
http_emitter_test.ts lib: validate extension values (#251) 2020-07-27 13:19:09 -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
parser_test.ts refactor: simplify parser logic and duplicated code (#269) 2020-07-24 15:08:52 -04:00
receiver_binary_1_tests.ts fix: do not require an HTTP body on incoming binary event messages 2020-07-23 14:22:14 -04:00
receiver_binary_03_tests.ts fix: do not require an HTTP body on incoming binary event messages 2020-07-23 14:22:14 -04:00
receiver_structured_0_3_test.ts test: inplement the cucumber conformance tests from cloudevents/spec (#238) 2020-07-13 09:47:02 -04:00
receiver_structured_1_test.ts feat(src): add ext name validation (#246) 2020-07-15 09:53:52 -04:00
sdk_test.ts test: inplement the cucumber conformance tests from cloudevents/spec (#238) 2020-07-13 09:47:02 -04:00
spec_1_tests.ts lib: validate extension values (#251) 2020-07-27 13:19:09 -04:00
spec_03_tests.ts feat(src): A CloudEvent should be readonly but provide a way to augment itself. (#234) 2020-07-13 15:15:32 -04:00
utilities_test.ts feat: simplify validation logic/imports (#265) 2020-07-23 16:09:07 -07:00