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/security_configuration | |
parent | 8309ef26ed9ae22e3115a0203dfff302812c154a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/security_configuration')
3 files changed, 7 insertions, 7 deletions
diff --git a/spec/frontend/security_configuration/configuration_table_spec.js b/spec/frontend/security_configuration/configuration_table_spec.js index beeca1b7169..49f9a7a3ea8 100644 --- a/spec/frontend/security_configuration/configuration_table_spec.js +++ b/spec/frontend/security_configuration/configuration_table_spec.js @@ -1,7 +1,7 @@ import { mount } from '@vue/test-utils'; +import { extendedWrapper } from 'helpers/vue_test_utils_helper'; import ConfigurationTable from '~/security_configuration/components/configuration_table.vue'; import { features, UPGRADE_CTA } from '~/security_configuration/components/features_constants'; -import { extendedWrapper } from 'helpers/vue_test_utils_helper'; import { REPORT_TYPE_SAST, diff --git a/spec/frontend/security_configuration/manage_sast_spec.js b/spec/frontend/security_configuration/manage_sast_spec.js index 6d3cfeb9ed1..7c76f19ddb4 100644 --- a/spec/frontend/security_configuration/manage_sast_spec.js +++ b/spec/frontend/security_configuration/manage_sast_spec.js @@ -1,13 +1,13 @@ +import { GlButton } from '@gitlab/ui'; +import { mount } from '@vue/test-utils'; import Vue from 'vue'; import VueApollo from 'vue-apollo'; -import { mount } from '@vue/test-utils'; -import { GlButton } from '@gitlab/ui'; +import createMockApollo from 'helpers/mock_apollo_helper'; import { extendedWrapper } from 'helpers/vue_test_utils_helper'; import waitForPromises from 'helpers/wait_for_promises'; -import createMockApollo from 'helpers/mock_apollo_helper'; -import configureSastMutation from '~/security_configuration/graphql/configure_sast.mutation.graphql'; -import ManageSast from '~/security_configuration/components/manage_sast.vue'; import { redirectTo } from '~/lib/utils/url_utility'; +import ManageSast from '~/security_configuration/components/manage_sast.vue'; +import configureSastMutation from '~/security_configuration/graphql/configure_sast.mutation.graphql'; jest.mock('~/lib/utils/url_utility', () => ({ redirectTo: jest.fn(), diff --git a/spec/frontend/security_configuration/upgrade_spec.js b/spec/frontend/security_configuration/upgrade_spec.js index 53434d32f07..0ab1108b265 100644 --- a/spec/frontend/security_configuration/upgrade_spec.js +++ b/spec/frontend/security_configuration/upgrade_spec.js @@ -1,6 +1,6 @@ import { mount } from '@vue/test-utils'; -import Upgrade from '~/security_configuration/components/upgrade.vue'; import { UPGRADE_CTA } from '~/security_configuration/components/features_constants'; +import Upgrade from '~/security_configuration/components/upgrade.vue'; let wrapper; const createComponent = () => { |