Fix test issue with expect(...).to.be.empty
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
99a61a3969
commit
a663f436a6
|
@ -184,7 +184,7 @@ describe("HTTP Transport Binding Unmarshaller for CloudEvents v0.2", () => {
|
|||
un.unmarshall(payload, attributes)
|
||||
.then(actual => {throw {message: "failed"}})
|
||||
.catch(err =>
|
||||
expect(err.message).to.not.empty());
|
||||
expect(err.message).to.not.empty);
|
||||
});
|
||||
|
||||
it("No error when all attributes are in place", () => {
|
||||
|
|
Loading…
Reference in New Issue