Skip to content

Commit b3dced7

Browse files
chore(test): add check for email in login e2e test
1 parent d029ed8 commit b3dced7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e/auth/auth.e2e-spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,6 @@ describe('Auth (E2E)', () => {
107107
.expect(HttpStatus.CREATED);
108108
expect(response.body).toHaveProperty('token');
109109
expect(response.body).toHaveProperty('refreshToken');
110+
expect(response.body.user.email).toEqual(credentials.email);
110111
});
111112
});

0 commit comments

Comments
 (0)