lint: Use eslint --fix to automatically fix some issues in api v2 tests

This commit is contained in:
Blade Barringer
2016-01-02 18:28:06 -06:00
parent 262d04e14c
commit ff1e5ef221
7 changed files with 20 additions and 20 deletions

View File

@@ -305,7 +305,7 @@ describe('GET /groups/:id', () => {
});
it('returns the user\'s party if an id of "party" is passed in', async () => {
let group = await member.get('/groups/party')
let group = await member.get('/groups/party');
expect(group._id).to.eql(createdGroup._id);
expect(group.name).to.eql(createdGroup.name);

View File

@@ -113,7 +113,7 @@ describe('POST /groups', () => {
let guild = await leader.post('/groups', {
type: 'guild',
privacy: 'public',
})
});
expect(guild.leader).to.eql(leader._id);
});

View File

@@ -18,11 +18,11 @@ describe('GET /user', () => {
});
it('does not include password information', async () => {
expect(user.auth.local.hashed_password).to.not.exist
expect(user.auth.local.salt).to.not.exist
expect(user.auth.local.hashed_password).to.not.exist;
expect(user.auth.local.salt).to.not.exist;
});
it('does not include api token', async () => {
expect(user.apiToken).to.not.exist
expect(user.apiToken).to.not.exist;
});
});