diff options
Diffstat (limited to 'spec/frontend/ide/components/jobs/detail/scroll_button_spec.js')
-rw-r--r-- | spec/frontend/ide/components/jobs/detail/scroll_button_spec.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/frontend/ide/components/jobs/detail/scroll_button_spec.js b/spec/frontend/ide/components/jobs/detail/scroll_button_spec.js index 5eb66f75978..450c6cb357c 100644 --- a/spec/frontend/ide/components/jobs/detail/scroll_button_spec.js +++ b/spec/frontend/ide/components/jobs/detail/scroll_button_spec.js @@ -15,10 +15,6 @@ describe('IDE job log scroll button', () => { }); }; - afterEach(() => { - wrapper.destroy(); - }); - describe.each` direction | icon | title ${'up'} | ${'scroll_up'} | ${'Scroll to top'} @@ -45,6 +41,6 @@ describe('IDE job log scroll button', () => { it('disables button when disabled is true', () => { createComponent({ disabled: true }); - expect(wrapper.find('button').attributes('disabled')).toBe('disabled'); + expect(wrapper.find('button').attributes('disabled')).toBeDefined(); }); }); |