diff options
Diffstat (limited to 'spec/frontend/design_management/components/design_scaler_spec.js')
-rw-r--r-- | spec/frontend/design_management/components/design_scaler_spec.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/frontend/design_management/components/design_scaler_spec.js b/spec/frontend/design_management/components/design_scaler_spec.js index e1a66cea329..b29448b4471 100644 --- a/spec/frontend/design_management/components/design_scaler_spec.js +++ b/spec/frontend/design_management/components/design_scaler_spec.js @@ -25,11 +25,6 @@ describe('Design management design scaler component', () => { createComponent(); }); - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - describe('when `scale` value is greater than 1', () => { beforeEach(async () => { setScale(1.6); @@ -41,7 +36,7 @@ describe('Design management design scaler component', () => { expect(wrapper.emitted('scale')[1]).toEqual([1]); }); - it('emits @scale event when "decrement" button clicked', async () => { + it('emits @scale event when "decrement" button clicked', () => { getDecreaseScaleButton().vm.$emit('click'); expect(wrapper.emitted('scale')[1]).toEqual([1.4]); }); |