From 47eff608ee36ba8f41f211cf95f88417fbc6222d Mon Sep 17 00:00:00 2001 From: Jon Samwell Date: Tue, 31 Oct 2017 16:46:00 +1100 Subject: [PATCH] chore(build): fixed failing tests --- CHANGELOG.md | 5 ++++- package.json | 2 +- tests/adapters/http-multipart-mixed-boundary-adapter.spec.ts | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abfcb62..c9176c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ +1.10 +======== +Redeploy due to deployment issues + 1.09 ======== Fixed deserialisation issue with asp web api when json content is formatted in batch request - 1.08 ======== Fixed issue in IE11 that was stripping leading '/' on urls which in turned caused the routing in web api to fail. diff --git a/package.json b/package.json index 2182722..a3c5104 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-http-batcher", - "version": "1.0.9", + "version": "1.0.10", "description": "Angular (2+) HTTP batching module to reduce the number of HTTP requests and increase performance", "scripts": { "build": "./node_modules/.bin/ngc -p ./src", diff --git a/tests/adapters/http-multipart-mixed-boundary-adapter.spec.ts b/tests/adapters/http-multipart-mixed-boundary-adapter.spec.ts index a890d6c..7831409 100644 --- a/tests/adapters/http-multipart-mixed-boundary-adapter.spec.ts +++ b/tests/adapters/http-multipart-mixed-boundary-adapter.spec.ts @@ -38,6 +38,7 @@ describe("HttpMultipartMixedBoundaryAdapter", () => { "GET /users HTTP/1.1", "Host: api.abc.com", "Accept: application/json, text/plain, */*", + "Content-Type: text/plain", "", "", "--1494052623884--" @@ -76,6 +77,7 @@ describe("HttpMultipartMixedBoundaryAdapter", () => { "Host: api.abc.com", "Accept: application/json, text/plain, */*", "Jon: Samwell", + "Content-Type: text/plain", "", "", "--1494052623884--" @@ -115,6 +117,7 @@ describe("HttpMultipartMixedBoundaryAdapter", () => { "Host: api.abc.com", "Accept: application/json, text/plain, */*", "content-disposition: something; name=unique0", + "Content-Type: text/plain", "", "", "--1494052623884--"