Remove ugly test

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-08-06 11:14:01 -03:00
parent 9ff4b01ac5
commit 66abc90cc2
1 changed files with 0 additions and 10 deletions

View File

@ -164,16 +164,6 @@ describe("CloudEvents Spec v0.3", () => {
});
describe("'datacontentencoding'", () => {
it("should throw an error when 'data' is not a string", () => {
cloudevent
.dataContentEncoding(dataContentEncoding);
expect(cloudevent.format.bind(cloudevent))
.to
.throw("invalid payload");
cloudevent.data(data);
delete cloudevent.spec.payload.datacontentencoding;
});
it("should throw an error when is a unsupported encoding" , () => {
cloudevent
.data("Y2xvdWRldmVudHMK")