v3: do not await a non promise

This commit is contained in:
Matteo Pagliazzi
2016-05-11 16:22:56 +02:00
parent 8276ffcfe2
commit 969459252b
@@ -104,7 +104,7 @@ describe('POST /groups/:id/join', () => {
group = await user.get(`/groups/${group._id}`);
await expect(group.leader._id).to.eql(user._id);
expect(group.leader._id).to.eql(user._id);
});
});
});