mirror of https://github.com/sundowndev/http.git
responseInterceptor test
parent
49a8eab840
commit
148f8b8e73
|
@ -17,6 +17,11 @@ module.exports = {
|
|||
baseURL: `http://localhost:${process.env.PORT}/test_api`,
|
||||
init (axios) {
|
||||
|
||||
},
|
||||
responseInterceptor: (response, { store }) => {
|
||||
/* eslint-disable no-console */
|
||||
console.log('YAY')
|
||||
return response
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue