Skip to content

Commit

Permalink
add empty default headers for all http verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjan1999 committed Nov 12, 2022
1 parent ca14fa2 commit 6c059a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/mock-axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ MockAxios.interceptors = {
MockAxios.defaults = {
headers: {
common: [],
get: {},
post: {},
delete: {},
put: {},
patch: {},
head: {}
},
};

Expand Down

0 comments on commit 6c059a9

Please sign in to comment.