diff --git a/src/screens/UserPortal/Tasks/Tasks.test.tsx b/src/screens/UserPortal/Tasks/Tasks.test.tsx index cefa6da09c..208a1ca4e8 100644 --- a/src/screens/UserPortal/Tasks/Tasks.test.tsx +++ b/src/screens/UserPortal/Tasks/Tasks.test.tsx @@ -84,87 +84,6 @@ const MOCKS = [ }, ]; -// { -// "data": { -// "user": { -// "_id": "63d6064458fce20ee25c3bf7", -// "assignedTasks": [ -// { -// "_id": "650ae5be2328d374ba28853d", -// "title": "EventProjectTask", -// "description": "A new task for the EventProject", -// "deadline": "2023-09-22T12:29:23.000Z", -// "volunteers": [ -// { -// "_id": "63d6064458fce20ee25c3bf7", -// "firstName": "Noble", -// "lastName": "Mittal", -// "email": "test@gmail.com", -// "__typename": "User" -// } -// ], -// "createdAt": "2023-09-20T12:29:50.303Z", -// "completed": false, -// "event": { -// "_id": "650982592328d374ba2881bc", -// "title": "sadas", -// "organization": { -// "_id": "6493e4570ee6c913d7199291", -// "name": "Test Organization", -// "image": null, -// "__typename": "Organization" -// }, -// "__typename": "Event" -// }, -// "creator": { -// "_id": "63d6064458fce20ee25c3bf7", -// "firstName": "Noble", -// "lastName": "Mittal", -// "__typename": "User" -// }, -// "__typename": "Task" -// }, -// { -// "_id": "650c440f2b5f121b9ceeaa88", -// "title": "Volunteer catering system", -// "description": "Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam doloribus perspiciatis ad quod voluptatum, adipisci natus atque consequatur nisi voluptatem ipsam eaque ex, minima odio animi distinctio, possimus odit consectetur reiciendis totam quis repellendus? Magnam rem voluptas dolorem quisquam molestiae!", -// "deadline": "2023-09-28T16:25:47.000Z", -// "volunteers": [ -// { -// "_id": "63d6064458fce20ee25c3bf7", -// "firstName": "Noble", -// "lastName": "Mittal", -// "email": "test@gmail.com", -// "__typename": "User" -// } -// ], -// "createdAt": "2023-09-21T13:24:31.217Z", -// "completed": false, -// "event": { -// "_id": "650982592328d374ba2881bc", -// "title": "sadas", -// "organization": { -// "_id": "6493e4570ee6c913d7199291", -// "name": "Test Organization", -// "image": null, -// "__typename": "Organization" -// }, -// "__typename": "Event" -// }, -// "creator": { -// "_id": "63d6064458fce20ee25c3bf7", -// "firstName": "Noble", -// "lastName": "Mittal", -// "__typename": "User" -// }, -// "__typename": "Task" -// } -// ], -// "__typename": "User" -// } -// } -// } - const link = new StaticMockLink(MOCKS, true); async function wait(ms = 100): Promise {