Skip to content

Commit

Permalink
style: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ctran88 committed Dec 20, 2024
1 parent 19d7992 commit 25f3bcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/classes/User/User.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 25f3bcd

Please sign in to comment.