diff options
Diffstat (limited to 'spec/frontend/ide/components/ide_sidebar_nav_spec.js')
-rw-r--r-- | spec/frontend/ide/components/ide_sidebar_nav_spec.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/frontend/ide/components/ide_sidebar_nav_spec.js b/spec/frontend/ide/components/ide_sidebar_nav_spec.js index b7aa99747b3..4ee24f63f76 100644 --- a/spec/frontend/ide/components/ide_sidebar_nav_spec.js +++ b/spec/frontend/ide/components/ide_sidebar_nav_spec.js @@ -25,10 +25,6 @@ describe('ide/components/ide_sidebar_nav', () => { let wrapper; const createComponent = (props = {}) => { - if (wrapper) { - throw new Error('wrapper already exists'); - } - wrapper = shallowMount(IdeSidebarNav, { propsData: { tabs: TEST_TABS, @@ -42,11 +38,6 @@ describe('ide/components/ide_sidebar_nav', () => { }); }; - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - const findButtons = () => wrapper.findAll('li button'); const findButtonsData = () => findButtons().wrappers.map((button) => { |