summaryrefslogtreecommitdiff
path: root/spec/frontend/notifications/components/custom_notifications_modal_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/notifications/components/custom_notifications_modal_spec.js')
-rw-r--r--spec/frontend/notifications/components/custom_notifications_modal_spec.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/spec/frontend/notifications/components/custom_notifications_modal_spec.js b/spec/frontend/notifications/components/custom_notifications_modal_spec.js
index 5e4114d91f5..0782ec7cdd5 100644
--- a/spec/frontend/notifications/components/custom_notifications_modal_spec.js
+++ b/spec/frontend/notifications/components/custom_notifications_modal_spec.js
@@ -177,11 +177,8 @@ describe('CustomNotificationsModal', () => {
await waitForPromises();
- expect(
- mockToastShow,
- ).toHaveBeenCalledWith(
+ expect(mockToastShow).toHaveBeenCalledWith(
'An error occurred while loading the notification settings. Please try again.',
- { type: 'error' },
);
});
});
@@ -255,11 +252,8 @@ describe('CustomNotificationsModal', () => {
await waitForPromises();
- expect(
- mockToastShow,
- ).toHaveBeenCalledWith(
+ expect(mockToastShow).toHaveBeenCalledWith(
'An error occurred while updating the notification settings. Please try again.',
- { type: 'error' },
);
});
});