refactor: Use token without string interpolation for getCurrentUser test
Co-authored-by: Ali BARIN <ali.barin53@gmail.com>
This commit is contained in:
co-authored by
Ali BARIN
parent
5831bf9653
commit
5f335ef5b3
@@ -46,7 +46,7 @@ describe('getCurrentUser', () => {
|
||||
token = createAuthTokenByUserId(currentUser.id);
|
||||
requestObject = request(app)
|
||||
.post('/graphql')
|
||||
.set('Authorization', `${token}`);
|
||||
.set('Authorization', token);
|
||||
});
|
||||
|
||||
it('should return user data', async () => {
|
||||
|
||||
Reference in New Issue
Block a user