mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
fix linting and add pending test
This commit is contained in:
parent
27065b3f4d
commit
a775c992ab
2 changed files with 5 additions and 4 deletions
|
|
@ -63,5 +63,6 @@ describe('DELETE /tasks/:id', () => {
|
|||
});
|
||||
|
||||
it('cannot delete active challenge tasks'); // TODO after challenges are implemented
|
||||
it('remove a task from user.tasksOrder'); // TODO
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ describe('POST /tasks', () => {
|
|||
text: 'an habit',
|
||||
}, {
|
||||
type: 'habit',
|
||||
text: 'another habit'
|
||||
text: 'another habit',
|
||||
}]);
|
||||
|
||||
let updatedUser = await user.get('/user');
|
||||
|
|
@ -302,7 +302,7 @@ describe('POST /tasks', () => {
|
|||
text: 'a todo',
|
||||
}, {
|
||||
type: 'todo',
|
||||
text: 'another todo'
|
||||
text: 'another todo',
|
||||
}]);
|
||||
|
||||
let updatedUser = await user.get('/user');
|
||||
|
|
@ -392,7 +392,7 @@ describe('POST /tasks', () => {
|
|||
text: 'a daily',
|
||||
}, {
|
||||
type: 'daily',
|
||||
text: 'another daily'
|
||||
text: 'another daily',
|
||||
}]);
|
||||
|
||||
let updatedUser = await user.get('/user');
|
||||
|
|
@ -532,7 +532,7 @@ describe('POST /tasks', () => {
|
|||
text: 'a reward',
|
||||
}, {
|
||||
type: 'reward',
|
||||
text: 'another reward'
|
||||
text: 'another reward',
|
||||
}]);
|
||||
|
||||
let updatedUser = await user.get('/user');
|
||||
|
|
|
|||
Loading…
Reference in a new issue