test: implement pending tests leftover from TS rewrite by lance · Pull Request #315 · cloudevents/sdk-javascript

@lance

This commit implements 4 of the 6 pending tests that were not completed
during the TypeScript rewrite. The two tests that were not implemented
were (one for each of v1 and v03):

```
it("returns a JSON string even if format is invalid");
```

I don't really know what that's supposed to be/mean, so I removed them.

Fixes: cloudevents#232

Signed-off-by: Lance Ball <lball@redhat.com>

@lance added spec/0.3

Support for spec v0.3

module/test

Issues and changes related to the tests

spec/1.0

Issues related to the CE specification

labels

Aug 12, 2020

@lance lance requested a review from a team

August 12, 2020 16:10

@lance lance mentioned this pull request

Sep 9, 2020

lance added a commit that referenced this pull request

Sep 11, 2020
This commit implements 4 of the 6 pending tests that were not completed
during the TypeScript rewrite. The two tests that were not implemented
were (one for each of v1 and v03):

```
it("returns a JSON string even if format is invalid");
```

I don't really know what that's supposed to be/mean, so I removed them.

Fixes: #232

Signed-off-by: Lance Ball <lball@redhat.com>