diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-14 21:09:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-14 21:09:20 +0300 |
commit | 835f1214dcc4e08e3076f269b7b2aa854ea4257a (patch) | |
tree | 07366d250301a8b2a8d7f24d220f4db21b5f6f59 /spec/frontend/authentication | |
parent | 8309ef26ed9ae22e3115a0203dfff302812c154a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/authentication')
-rw-r--r-- | spec/frontend/authentication/two_factor_auth/components/recovery_codes_spec.js | 8 | ||||
-rw-r--r-- | spec/frontend/authentication/two_factor_auth/index_spec.js | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/spec/frontend/authentication/two_factor_auth/components/recovery_codes_spec.js b/spec/frontend/authentication/two_factor_auth/components/recovery_codes_spec.js index 98c8ed4b95d..b77def195b6 100644 --- a/spec/frontend/authentication/two_factor_auth/components/recovery_codes_spec.js +++ b/spec/frontend/authentication/two_factor_auth/components/recovery_codes_spec.js @@ -1,17 +1,17 @@ -import { mount } from '@vue/test-utils'; import { GlAlert, GlButton } from '@gitlab/ui'; -import { nextTick } from 'vue'; import { within } from '@testing-library/dom'; +import { mount } from '@vue/test-utils'; +import { nextTick } from 'vue'; import { extendedWrapper } from 'helpers/vue_test_utils_helper'; -import Tracking from '~/tracking'; import RecoveryCodes, { i18n, } from '~/authentication/two_factor_auth/components/recovery_codes.vue'; -import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import { RECOVERY_CODE_DOWNLOAD_FILENAME, COPY_KEYBOARD_SHORTCUT, } from '~/authentication/two_factor_auth/constants'; +import Tracking from '~/tracking'; +import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import { codes, codesFormattedString, codesDownloadHref, profileAccountPath } from '../mock_data'; describe('RecoveryCodes', () => { diff --git a/spec/frontend/authentication/two_factor_auth/index_spec.js b/spec/frontend/authentication/two_factor_auth/index_spec.js index b181170b0a1..f5345139021 100644 --- a/spec/frontend/authentication/two_factor_auth/index_spec.js +++ b/spec/frontend/authentication/two_factor_auth/index_spec.js @@ -1,8 +1,8 @@ -import { createWrapper } from '@vue/test-utils'; import { getByTestId, fireEvent } from '@testing-library/dom'; -import * as urlUtils from '~/lib/utils/url_utility'; +import { createWrapper } from '@vue/test-utils'; import { initRecoveryCodes, initClose2faSuccessMessage } from '~/authentication/two_factor_auth'; import RecoveryCodes from '~/authentication/two_factor_auth/components/recovery_codes.vue'; +import * as urlUtils from '~/lib/utils/url_utility'; import { codesJsonString, codes, profileAccountPath } from './mock_data'; describe('initRecoveryCodes', () => { |