We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a18a9c commit 73496f2Copy full SHA for 73496f2
src/services/http/http.spec.js
@@ -84,7 +84,7 @@ describe("$http", function () {
84
expect(response.config.method).toBe("GET");
85
});
86
87
- it("sets deffault headers on request", async function () {
+ it("sets default headers on request", async function () {
88
await $http({
89
url: "/mock/hello",
90
headers: {
@@ -96,9 +96,7 @@ describe("$http", function () {
96
97
expect(response).toBeDefined();
98
99
- expect(response.config.headers.Accept).toBe(
100
- "application/json, text/plain, */*",
101
- );
+ expect(response.config.headers.Accept).toBe("text/plain");
102
expect(response.config.headers["Cache-Control"]).toBe("no-cache");
103
104
0 commit comments