diff options
Diffstat (limited to 'spec/frontend/jira_import')
-rw-r--r-- | spec/frontend/jira_import/components/jira_import_app_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/jira_import/components/jira_import_app_spec.js b/spec/frontend/jira_import/components/jira_import_app_spec.js index 27314a0eb6e..cd8024d4962 100644 --- a/spec/frontend/jira_import/components/jira_import_app_spec.js +++ b/spec/frontend/jira_import/components/jira_import_app_spec.js @@ -1,6 +1,6 @@ import { GlAlert, GlLoadingIcon } from '@gitlab/ui'; import { shallowMount } from '@vue/test-utils'; -import Vue from 'vue'; +import { nextTick } from 'vue'; import JiraImportApp from '~/jira_import/components/jira_import_app.vue'; import JiraImportForm from '~/jira_import/components/jira_import_form.vue'; import JiraImportProgress from '~/jira_import/components/jira_import_progress.vue'; @@ -230,7 +230,7 @@ describe('JiraImportApp', () => { getFormComponent().vm.$emit('error', 'There was an error'); - await Vue.nextTick(); + await nextTick(); expect(getAlert().exists()).toBe(true); }); @@ -248,7 +248,7 @@ describe('JiraImportApp', () => { getAlert().vm.$emit('dismiss'); - await Vue.nextTick(); + await nextTick(); expect(getAlert().exists()).toBe(false); }); |