diff --git a/src/axiosInterceptor.test.ts b/src/axiosInterceptor.test.ts index eaf6ce97..e75b6c3b 100644 --- a/src/axiosInterceptor.test.ts +++ b/src/axiosInterceptor.test.ts @@ -74,7 +74,7 @@ describe("axios interceptor", () => { // Assert const request = moxios.requests.first(); expect(request.headers["Content-Type"]).toEqual( - "application/json;charset=utf-8" + "application/json" ); }); @@ -96,7 +96,7 @@ describe("axios interceptor", () => { // Assert const request = moxios.requests.first(); expect(request.headers["Content-Type"]).toEqual( - "application/json;charset=utf-8" + "application/json" ); }); }); diff --git a/src/interceptor.test.ts b/src/interceptor.test.ts index aae477a1..b1ce5fe7 100644 --- a/src/interceptor.test.ts +++ b/src/interceptor.test.ts @@ -165,7 +165,7 @@ describe("interceptor", () => { region: "local", host: "example.com", body: '{"foo":"bar"}', - headers: { "Content-Type": "application/json;charset=utf-8" }, + headers: { "Content-Type": "application/json" }, }, undefined );