mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
lint: Use eslint --fix to automatically fix some issues in api v2 tests
This commit is contained in:
@@ -47,9 +47,9 @@ describe('POST /user/batch-update', () => {
|
||||
return expect(user.post('/user/batch-update', [
|
||||
{ op: operation },
|
||||
])).to.eventually.be.rejected.and.eql({
|
||||
code: 500,
|
||||
text: t('messageUserOperationNotFound', { operation }),
|
||||
});
|
||||
code: 500,
|
||||
text: t('messageUserOperationNotFound', { operation }),
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -59,9 +59,9 @@ describe('POST /user/batch-update', () => {
|
||||
return expect(user.post('/user/batch-update', [
|
||||
{op: 'aNotRealOperation'},
|
||||
])).to.eventually.be.rejected.and.eql({
|
||||
code: 500,
|
||||
text: t('messageUserOperationNotFound', { operation: 'aNotRealOperation' }),
|
||||
});
|
||||
code: 500,
|
||||
text: t('messageUserOperationNotFound', { operation: 'aNotRealOperation' }),
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user