From b9ee324a00afa66ef76f5223f627ac29e2e4b8b8 Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Tue, 28 May 2019 09:57:46 +0000 Subject: Revert "Merge branch '61511-add-expand-collapse-to-project-operation-setttings-2' into 'master'" This reverts merge request !28620 --- .../components/external_dashboard_spec.js | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'spec/frontend/operation_settings') 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; -- cgit v1.2.3