diff options
Diffstat (limited to 'spec/frontend/releases/stores/modules/list')
-rw-r--r-- | spec/frontend/releases/stores/modules/list/actions_spec.js | 20 | ||||
-rw-r--r-- | spec/frontend/releases/stores/modules/list/mutations_spec.js | 8 |
2 files changed, 14 insertions, 14 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]; diff --git a/spec/frontend/releases/stores/modules/list/mutations_spec.js b/spec/frontend/releases/stores/modules/list/mutations_spec.js index 78071573072..ea6a4ada16a 100644 --- a/spec/frontend/releases/stores/modules/list/mutations_spec.js +++ b/spec/frontend/releases/stores/modules/list/mutations_spec.js @@ -1,10 +1,10 @@ import { getJSONFixture } from 'helpers/fixtures'; -import createState from '~/releases/stores/modules/list/state'; -import mutations from '~/releases/stores/modules/list/mutations'; -import * as types from '~/releases/stores/modules/list/mutation_types'; import { parseIntPagination, convertObjectPropsToCamelCase } from '~/lib/utils/common_utils'; -import { pageInfoHeadersWithoutPagination } from '../../../mock_data'; +import * as types from '~/releases/stores/modules/list/mutation_types'; +import mutations from '~/releases/stores/modules/list/mutations'; +import createState from '~/releases/stores/modules/list/state'; import { convertAllReleasesGraphQLResponse } from '~/releases/util'; +import { pageInfoHeadersWithoutPagination } from '../../../mock_data'; const originalRelease = getJSONFixture('api/releases/release.json'); const originalReleases = [originalRelease]; |