From 5212ac6394ac9b3caef29d89746eb78291b4ff9e Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Sat, 19 May 2018 21:10:36 +0200 Subject: [PATCH] fix(tests): do not use arrow function when using this --- .../v3/integration/groups/GET-groups_groupId_invites.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js b/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js index f7eef70a04..abef14c57c 100644 --- a/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js +++ b/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js @@ -81,7 +81,7 @@ describe('GET /groups/:groupId/invites', () => { }); }); - it('supports using req.query.lastId to get more invites', async () => { + it('supports using req.query.lastId to get more invites', async function () { this.timeout(30000); // @TODO: times out after 8 seconds let leader = await generateUser({balance: 4}); let group = await generateGroup(leader, {type: 'guild', privacy: 'public', name: generateUUID()});