From cb33a8adabfcdb3bf365a934944453e03b51d51c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Sat, 15 Dec 2018 13:22:08 -0200 Subject: [PATCH] parentheses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- test/http_binding_0_1.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/http_binding_0_1.js b/test/http_binding_0_1.js index 1e2fefb..844c20e 100644 --- a/test/http_binding_0_1.js +++ b/test/http_binding_0_1.js @@ -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()); });