Fix test issue with expect(...).to.be.empty

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-07-23 14:02:15 -03:00
parent 99a61a3969
commit a663f436a6
1 changed files with 1 additions and 1 deletions

View File

@ -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", () => {