diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-05-28 12:57:46 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-05-28 12:57:46 +0300 |
commit | b9ee324a00afa66ef76f5223f627ac29e2e4b8b8 (patch) | |
tree | 9e16150ad0b0a412976834fc2f5fdcb36987c7c5 /spec/frontend/operation_settings | |
parent | 74001467411c138c32028b94b6967b421acafe76 (diff) |
Revert "Merge branch '61511-add-expand-collapse-to-project-operation-setttings-2' into 'master'"
This reverts merge request !28620
Diffstat (limited to 'spec/frontend/operation_settings')
-rw-r--r-- | spec/frontend/operation_settings/components/external_dashboard_spec.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/frontend/operation_settings/components/external_dashboard_spec.js b/spec/frontend/operation_settings/components/external_dashboard_spec.js index 4d35d35965c..de1dd219fe0 100644 --- a/spec/frontend/operation_settings/components/external_dashboard_spec.js +++ b/spec/frontend/operation_settings/components/external_dashboard_spec.js @@ -2,9 +2,6 @@ import { shallowMount } from '@vue/test-utils'; import { GlButton, GlLink, GlFormGroup, GlFormInput } from '@gitlab/ui'; import ExternalDashboard from '~/operation_settings/components/external_dashboard.vue'; import { TEST_HOST } from 'helpers/test_constants'; -import initSettingsPanels from '~/settings_panels'; - -jest.mock('~/settings_panels'); describe('operation settings external dashboard component', () => { let wrapper; @@ -24,18 +21,6 @@ describe('operation settings external dashboard component', () => { expect(wrapper.find('.js-section-header').text()).toBe('External Dashboard'); }); - describe('expand/collapse button', () => { - it('is properly instantiated as a settings panel', () => { - expect(initSettingsPanels).toHaveBeenCalled(); - }); - - it('defaults to collapsed state', () => { - const button = wrapper.find(GlButton); - - expect(button.text()).toBe('Expand'); - }); - }); - describe('sub-header', () => { let subHeader; |