diff options
Diffstat (limited to 'spec/frontend/design_management/components/toolbar/index_spec.js')
-rw-r--r-- | spec/frontend/design_management/components/toolbar/index_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/design_management/components/toolbar/index_spec.js b/spec/frontend/design_management/components/toolbar/index_spec.js index b6137ba2eee..1776405ece9 100644 --- a/spec/frontend/design_management/components/toolbar/index_spec.js +++ b/spec/frontend/design_management/components/toolbar/index_spec.js @@ -107,7 +107,7 @@ describe('Design management toolbar component', () => { await nextTick(); wrapper.findComponent(DeleteButton).vm.$emit('delete-selected-designs'); - expect(wrapper.emitted().delete).toBeTruthy(); + expect(wrapper.emitted().delete).toHaveLength(1); }); it('renders download button with correct link', () => { |