mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
res.respond: allow for thrid parameter (message), refactor shared ops responses and adapt tests
This commit is contained in:
@@ -36,6 +36,6 @@ describe('POST /user/allocate', () => {
|
||||
await user.sync();
|
||||
expect(user.stats.con).to.equal(1);
|
||||
expect(user.stats.points).to.equal(0);
|
||||
expect(res.stats.con).to.equal(1);
|
||||
expect(res.con).to.equal(1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user