Skip to content

Conversation

lance
Copy link
Member

@lance lance commented Aug 12, 2020

Proposed Changes

  • Implement pending CloudEvent tests

Description

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.

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

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 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 self-assigned this Aug 12, 2020
@lance lance requested review from danbev, grant and helio-frota and removed request for a team August 12, 2020 16:10
@lance lance requested a review from lholmquist August 12, 2020 16:15
@lance lance merged commit b5cf886 into cloudevents:master Aug 12, 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>
@lholmquist lholmquist mentioned this pull request Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/test Issues and changes related to the tests spec/0.3 Support for spec v0.3 spec/1.0 Issues related to the CE specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants