mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
chore(lint): lint files in preparation for eslint v2
This commit is contained in:
@@ -17,7 +17,7 @@ describe('POST /user/purchase/:type/:key', () => {
|
||||
// More tests in common code unit tests
|
||||
|
||||
it('returns an error when key is not provided', async () => {
|
||||
await expect(user.post(`/user/purchase/gems/gem`))
|
||||
await expect(user.post('/user/purchase/gems/gem'))
|
||||
.to.eventually.be.rejected.and.eql({
|
||||
code: 401,
|
||||
error: 'NotAuthorized',
|
||||
|
||||
Reference in New Issue
Block a user