fix(tests): do not use arrow function when using this

This commit is contained in:
Matteo Pagliazzi 2018-05-19 21:10:36 +02:00
parent 7b5d6b508d
commit 5212ac6394

View file

@ -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()});