diff options
Diffstat (limited to 'spec/frontend/issuable/components')
-rw-r--r-- | spec/frontend/issuable/components/issuable_by_email_spec.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/frontend/issuable/components/issuable_by_email_spec.js b/spec/frontend/issuable/components/issuable_by_email_spec.js index f11c41fe25d..01abf239e57 100644 --- a/spec/frontend/issuable/components/issuable_by_email_spec.js +++ b/spec/frontend/issuable/components/issuable_by_email_spec.js @@ -154,10 +154,7 @@ describe('IssuableByEmail', () => { await clickResetEmail(); - expect(mockToastShow).toHaveBeenCalledWith( - 'There was an error when reseting email token.', - { type: 'error' }, - ); + expect(mockToastShow).toHaveBeenCalledWith('There was an error when reseting email token.'); expect(findFormInputGroup().props('value')).toBe('user@gitlab.com'); }); }); |