-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,9 +51,7 @@ describe('User class', () => { | |
usersApiMock.listPaginatedUsers.mockRejectedValue(responseError); | ||
|
||
await expect(user.getByIdentifier('[email protected]')).rejects.toThrow(passageError); | ||
await expect(user.getByIdentifier('[email protected]')).rejects.toThrow( | ||
'Bad gateway', | ||
); | ||
await expect(user.getByIdentifier('[email protected]')).rejects.toThrow('Bad gateway'); | ||
}); | ||
|
||
it('should throw an error if get user by identifier returns an empty array', async () => { | ||
|