responseInterceptor test

master
Pooya Parsa 2017-09-06 23:23:54 +04:30
parent 49a8eab840
commit 148f8b8e73
1 changed files with 5 additions and 0 deletions

View File

@ -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
}
}
}