diff options
Diffstat (limited to 'spec/frontend/releases/stores/modules/list/actions_spec.js')
-rw-r--r-- | spec/frontend/releases/stores/modules/list/actions_spec.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/spec/frontend/releases/stores/modules/list/actions_spec.js b/spec/frontend/releases/stores/modules/list/actions_spec.js index 35551b77dc4..309f7387929 100644 --- a/spec/frontend/releases/stores/modules/list/actions_spec.js +++ b/spec/frontend/releases/stores/modules/list/actions_spec.js @@ -1,6 +1,14 @@ import { cloneDeep } from 'lodash'; -import testAction from 'helpers/vuex_action_helper'; import { getJSONFixture } from 'helpers/fixtures'; +import testAction from 'helpers/vuex_action_helper'; +import api from '~/api'; +import { + normalizeHeaders, + parseIntPagination, + convertObjectPropsToCamelCase, +} from '~/lib/utils/common_utils'; +import { PAGE_SIZE } from '~/releases/constants'; +import allReleasesQuery from '~/releases/queries/all_releases.query.graphql'; import { fetchReleases, fetchReleasesGraphQl, @@ -8,18 +16,10 @@ import { receiveReleasesError, setSorting, } from '~/releases/stores/modules/list/actions'; -import createState from '~/releases/stores/modules/list/state'; import * as types from '~/releases/stores/modules/list/mutation_types'; -import api from '~/api'; +import createState from '~/releases/stores/modules/list/state'; import { gqClient, convertAllReleasesGraphQLResponse } from '~/releases/util'; -import { - normalizeHeaders, - parseIntPagination, - convertObjectPropsToCamelCase, -} from '~/lib/utils/common_utils'; import { pageInfoHeadersWithoutPagination } from '../../../mock_data'; -import allReleasesQuery from '~/releases/queries/all_releases.query.graphql'; -import { PAGE_SIZE } from '~/releases/constants'; const originalRelease = getJSONFixture('api/releases/release.json'); const originalReleases = [originalRelease]; |