debian-mirror-gitlab/spec/frontend_integration/test_helpers/setup/setup_axios.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
217 B
JavaScript
Raw Permalink Normal View History

2020-10-24 23:57:45 +05:30
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;