debian-mirror-gitlab/spec/frontend_integration/test_helpers/setup/setup_axios.js
2020-10-24 23:57:45 +05:30

5 lines
217 B
JavaScript

import adapter from 'axios/lib/adapters/xhr';
import axios from '~/lib/utils/axios_utils';
// We're removing our default axios adapter because this is handled by our mock server now
axios.defaults.adapter = adapter;