mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
tests: Add pending test for GET /tasks
This commit is contained in:
18
test/api/v3/integration/tasks/GET-tasks.test.js
Normal file
18
test/api/v3/integration/tasks/GET-tasks.test.js
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
import {
|
||||||
|
generateUser,
|
||||||
|
requester,
|
||||||
|
translate as t,
|
||||||
|
} from '../../../../helpers/api-integration.helper';
|
||||||
|
|
||||||
|
describe('GET /tasks', () => {
|
||||||
|
let user, api;
|
||||||
|
|
||||||
|
before(() => {
|
||||||
|
return generateUser().then((generatedUser) => {
|
||||||
|
user = generatedUser;
|
||||||
|
api = requester(user);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
it('returns all user\'s tasks');
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user