parentheses

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2018-12-15 13:22:08 -02:00
parent 6fec621cac
commit cb33a8adab
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ describe("HTTP Transport Binding - Version 0.1", () => {
describe("JSON Format", () => {
it("requires '" + contentType + "' Content-Type in header", () => {
return httpstructured01.emit(cloudevent)
.then(response => {
.then((response) => {
expect(response.config.headers["Content-Type"])
.to.equal(contentType);
});
@ -39,7 +39,7 @@ describe("HTTP Transport Binding - Version 0.1", () => {
it("the request should be correct", () => {
return httpstructured01.emit(cloudevent)
.then(response => {
.then((response) => {
expect(JSON.parse(response.config.data))
.to.deep.equal(cloudevent.format());
});