refactor: Use token without string interpolation for getCurrentUser test
Co-authored-by: Ali BARIN <ali.barin53@gmail.com>
This commit is contained in:
@@ -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