mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 13:47:33 +01:00
fix(lint): add missing whitespace for curlies
This commit is contained in:
@@ -57,7 +57,7 @@ describe('GET /groups/:groupId/chat', () => {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
// Creation API is shut down, we need to simulate an extant public group
|
// Creation API is shut down, we need to simulate an extant public group
|
||||||
await Group.updateOne({ _id: group._id }, { $set: { privacy: 'public' }, $unset: { 'purchased.plan': 1 }}).exec();
|
await Group.updateOne({ _id: group._id }, { $set: { privacy: 'public' }, $unset: { 'purchased.plan': 1 } }).exec();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns error if user attempts to fetch a sunset Guild', async () => {
|
it('returns error if user attempts to fetch a sunset Guild', async () => {
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ describe('POST /chat/:chatId/like', () => {
|
|||||||
const message = await anotherUser.post(`/groups/${groupWithChat._id}/chat`, { message: testMessage });
|
const message = await anotherUser.post(`/groups/${groupWithChat._id}/chat`, { message: testMessage });
|
||||||
|
|
||||||
// Creation API is shut down, we need to simulate an extant public group
|
// Creation API is shut down, we need to simulate an extant public group
|
||||||
await Group.updateOne({ _id: groupWithChat._id }, { $set: { privacy: 'public' }, $unset: { 'purchased.plan': 1 }}).exec();
|
await Group.updateOne({ _id: groupWithChat._id }, { $set: { privacy: 'public' }, $unset: { 'purchased.plan': 1 } }).exec();
|
||||||
|
|
||||||
await expect(user.post(`/groups/${groupWithChat._id}/chat/${message.message.id}/like`))
|
await expect(user.post(`/groups/${groupWithChat._id}/chat/${message.message.id}/like`))
|
||||||
.to.eventually.be.rejected.and.eql({
|
.to.eventually.be.rejected.and.eql({
|
||||||
|
|||||||
Reference in New Issue
Block a user