diff options
Diffstat (limited to 'spec/frontend/logs/stores')
-rw-r--r-- | spec/frontend/logs/stores/actions_spec.js | 13 | ||||
-rw-r--r-- | spec/frontend/logs/stores/mutations_spec.js | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/spec/frontend/logs/stores/actions_spec.js b/spec/frontend/logs/stores/actions_spec.js index bc58f1e677f..92c2f82af27 100644 --- a/spec/frontend/logs/stores/actions_spec.js +++ b/spec/frontend/logs/stores/actions_spec.js @@ -1,9 +1,9 @@ import MockAdapter from 'axios-mock-adapter'; import testAction from 'helpers/vuex_action_helper'; -import Tracking from '~/tracking'; -import * as types from '~/logs/stores/mutation_types'; +import { deprecatedCreateFlash as flash } from '~/flash'; +import axios from '~/lib/utils/axios_utils'; import { convertToFixedRange } from '~/lib/utils/datetime_range'; -import logsPageState from '~/logs/stores/state'; +import { TOKEN_TYPE_POD_NAME } from '~/logs/constants'; import { setInitData, showFilteredLogs, @@ -13,12 +13,12 @@ import { fetchMoreLogsPrepend, fetchManagedApps, } from '~/logs/stores/actions'; +import * as types from '~/logs/stores/mutation_types'; +import logsPageState from '~/logs/stores/state'; +import Tracking from '~/tracking'; import { defaultTimeRange } from '~/vue_shared/constants'; -import axios from '~/lib/utils/axios_utils'; -import { deprecatedCreateFlash as flash } from '~/flash'; - import { mockPodName, mockEnvironmentsEndpoint, @@ -34,7 +34,6 @@ import { mockManagedApps, mockManagedAppsEndpoint, } from '../mock_data'; -import { TOKEN_TYPE_POD_NAME } from '~/logs/constants'; jest.mock('~/flash'); jest.mock('~/lib/utils/datetime_range'); diff --git a/spec/frontend/logs/stores/mutations_spec.js b/spec/frontend/logs/stores/mutations_spec.js index 51f6494b011..111c795ba52 100644 --- a/spec/frontend/logs/stores/mutations_spec.js +++ b/spec/frontend/logs/stores/mutations_spec.js @@ -1,5 +1,5 @@ -import mutations from '~/logs/stores/mutations'; import * as types from '~/logs/stores/mutation_types'; +import mutations from '~/logs/stores/mutations'; import logsPageState from '~/logs/stores/state'; import { |