mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
lint: Fix tests that can be fixed with the eslint --fix flag
This commit is contained in:
@@ -75,8 +75,8 @@ describe('POST /group', () => {
|
||||
|
||||
context('Parties', () => {
|
||||
it('creates a party', () => {
|
||||
let groupName = "Test Party";
|
||||
let groupType = "party";
|
||||
let groupName = 'Test Party';
|
||||
let groupType = 'party';
|
||||
|
||||
return user.post('/groups', {
|
||||
name: groupName,
|
||||
@@ -86,13 +86,13 @@ describe('POST /group', () => {
|
||||
expect(result._id).to.exist;
|
||||
expect(result.name).to.equal(groupName);
|
||||
expect(result.type).to.equal(groupType);
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
it('prevents user in a party from creating another party', () => {
|
||||
let tmpUser;
|
||||
let groupName = "Test Party";
|
||||
let groupType = "party";
|
||||
let groupName = 'Test Party';
|
||||
let groupType = 'party';
|
||||
|
||||
return generateUser().then((generatedUser) => {
|
||||
tmpUser = generatedUser;
|
||||
|
||||
Reference in New Issue
Block a user