diff options
Diffstat (limited to 'spec/frontend/pages/projects/forks')
-rw-r--r-- | spec/frontend/pages/projects/forks/new/components/fork_groups_list_spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/frontend/pages/projects/forks/new/components/fork_groups_list_spec.js b/spec/frontend/pages/projects/forks/new/components/fork_groups_list_spec.js index 979dff78eba..2ec608569e3 100644 --- a/spec/frontend/pages/projects/forks/new/components/fork_groups_list_spec.js +++ b/spec/frontend/pages/projects/forks/new/components/fork_groups_list_spec.js @@ -1,14 +1,14 @@ import AxiosMockAdapter from 'axios-mock-adapter'; -import axios from '~/lib/utils/axios_utils'; import { shallowMount } from '@vue/test-utils'; import { GlLoadingIcon, GlSearchBoxByType } from '@gitlab/ui'; import { nextTick } from 'vue'; -import createFlash from '~/flash'; +import waitForPromises from 'helpers/wait_for_promises'; +import axios from '~/lib/utils/axios_utils'; +import { deprecatedCreateFlash as createFlash } from '~/flash'; import ForkGroupsList from '~/pages/projects/forks/new/components/fork_groups_list.vue'; import ForkGroupsListItem from '~/pages/projects/forks/new/components/fork_groups_list_item.vue'; -import waitForPromises from 'helpers/wait_for_promises'; -jest.mock('~/flash', () => jest.fn()); +jest.mock('~/flash'); describe('Fork groups list component', () => { let wrapper; |