mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
lint: Use eslint --fix to automatically fix some issues in api v2 tests
This commit is contained in:
@@ -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;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user