diff options
Diffstat (limited to 'spec/frontend/notifications/components/notifications_dropdown_spec.js')
-rw-r--r-- | spec/frontend/notifications/components/notifications_dropdown_spec.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/frontend/notifications/components/notifications_dropdown_spec.js b/spec/frontend/notifications/components/notifications_dropdown_spec.js index e90bd68d067..e12251ce6d9 100644 --- a/spec/frontend/notifications/components/notifications_dropdown_spec.js +++ b/spec/frontend/notifications/components/notifications_dropdown_spec.js @@ -242,11 +242,8 @@ describe('NotificationsDropdown', () => { await clickDropdownItemAt(1); expect(wrapper.vm.selectedNotificationLevel).toBe('global'); - expect( - mockToastShow, - ).toHaveBeenCalledWith( + expect(mockToastShow).toHaveBeenCalledWith( 'An error occurred while updating the notification settings. Please try again.', - { type: 'error' }, ); }); |