diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
commit | 8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca (patch) | |
tree | 544930fb309b30317ae9797a9683768705d664c4 /spec/frontend/maintenance_mode_settings/components/app_spec.js | |
parent | 4b1de649d0168371549608993deac953eb692019 (diff) |
Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42
Diffstat (limited to 'spec/frontend/maintenance_mode_settings/components/app_spec.js')
-rw-r--r-- | spec/frontend/maintenance_mode_settings/components/app_spec.js | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/spec/frontend/maintenance_mode_settings/components/app_spec.js b/spec/frontend/maintenance_mode_settings/components/app_spec.js deleted file mode 100644 index ad753642e85..00000000000 --- a/spec/frontend/maintenance_mode_settings/components/app_spec.js +++ /dev/null @@ -1,42 +0,0 @@ -import { shallowMount } from '@vue/test-utils'; -import { GlToggle, GlFormTextarea, GlButton } from '@gitlab/ui'; -import MaintenanceModeSettingsApp from '~/maintenance_mode_settings/components/app.vue'; - -describe('MaintenanceModeSettingsApp', () => { - let wrapper; - - const createComponent = () => { - wrapper = shallowMount(MaintenanceModeSettingsApp); - }; - - afterEach(() => { - wrapper.destroy(); - }); - - const findMaintenanceModeSettingsContainer = () => wrapper.find('article'); - const findGlToggle = () => wrapper.find(GlToggle); - const findGlFormTextarea = () => wrapper.find(GlFormTextarea); - const findGlButton = () => wrapper.find(GlButton); - - describe('template', () => { - beforeEach(() => { - createComponent(); - }); - - it('renders the Maintenance Mode Settings container', () => { - expect(findMaintenanceModeSettingsContainer().exists()).toBe(true); - }); - - it('renders the GlToggle', () => { - expect(findGlToggle().exists()).toBe(true); - }); - - it('renders the GlFormTextarea', () => { - expect(findGlFormTextarea().exists()).toBe(true); - }); - - it('renders the GlButton', () => { - expect(findGlButton().exists()).toBe(true); - }); - }); -}); |