mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
lint: Use eslint --fix to automatically fix some issues in api v2 tests
This commit is contained in:
@@ -37,9 +37,9 @@ describe('DELETE /user', () => {
|
||||
});
|
||||
|
||||
it('deletes party when user is the only member', async () => {
|
||||
return expect(user.del('/user').then((result) => {
|
||||
return checkExistence('groups', party._id);
|
||||
})).to.eventually.eql(false);
|
||||
return expect(user.del('/user').then((result) => {
|
||||
return checkExistence('groups', party._id);
|
||||
})).to.eventually.eql(false);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -56,9 +56,9 @@ describe('DELETE /user', () => {
|
||||
});
|
||||
|
||||
it('deletes guild when user is the only member', async () => {
|
||||
return expect(user.del('/user').then((result) => {
|
||||
return checkExistence('groups', guild._id);
|
||||
})).to.eventually.eql(false);
|
||||
return expect(user.del('/user').then((result) => {
|
||||
return checkExistence('groups', guild._id);
|
||||
})).to.eventually.eql(false);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user