diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-24 18:11:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-24 18:11:33 +0300 |
commit | 87543246d9d68066b216811f3de590689e218e7c (patch) | |
tree | 72d72aea138b81fe5ccb3b575866906e2da9bcf8 /spec/frontend/jira_import | |
parent | 4d3bbc4990ead10831a087cece3ccdd25dc4f0b4 (diff) |
Add latest changes from gitlab-org/gitlab@master
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); }); |