diff options
Diffstat (limited to 'spec/frontend/environments/canary_update_modal_spec.js')
-rw-r--r-- | spec/frontend/environments/canary_update_modal_spec.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/spec/frontend/environments/canary_update_modal_spec.js b/spec/frontend/environments/canary_update_modal_spec.js index 31b1770da59..4fa7b34d817 100644 --- a/spec/frontend/environments/canary_update_modal_spec.js +++ b/spec/frontend/environments/canary_update_modal_spec.js @@ -30,14 +30,6 @@ describe('/environments/components/canary_update_modal.vue', () => { modal = wrapper.findComponent(GlModal); }; - afterEach(() => { - if (wrapper) { - wrapper.destroy(); - } - - wrapper = null; - }); - beforeEach(() => { createComponent(); }); @@ -47,7 +39,7 @@ describe('/environments/components/canary_update_modal.vue', () => { modalId: 'confirm-canary-change', actionPrimary: { text: 'Change ratio', - attributes: [{ variant: 'confirm' }], + attributes: { variant: 'confirm' }, }, actionCancel: { text: 'Cancel' }, }); |