mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
lint: Correct linting errors in api v3 tests
This commit is contained in:
@@ -36,7 +36,7 @@ describe('GET /groups/:groupId/chat', () => {
|
||||
});
|
||||
|
||||
it('returns Guild chat', () => {
|
||||
return user.get('/groups/' + group._id + '/chat')
|
||||
return user.get(`/groups/${group._id}/chat`)
|
||||
.then((getChat) => {
|
||||
expect(getChat).to.eql(group.chat);
|
||||
});
|
||||
@@ -67,7 +67,7 @@ describe('GET /groups/:groupId/chat', () => {
|
||||
|
||||
it('returns error if user is not member of requested private group', () => {
|
||||
return expect(
|
||||
user.get('/groups/' + group._id + '/chat')
|
||||
user.get(`/groups/${group._id}/chat`)
|
||||
)
|
||||
.to.eventually.be.rejected.and.eql({
|
||||
code: 404,
|
||||
|
||||
Reference in New Issue
Block a user