mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
* api: expose user's inbox.optOut for `api/v3/members/:memberId` #7798 * test: fixed chai exist vs exists typos * _getMembersForItem: fixed typo in api docs
This commit is contained in:
committed by
Blade Barringer
parent
1a409848a8
commit
408d988341
@@ -14,7 +14,7 @@ describe('GET /user', () => {
|
||||
let returnedUser = await user.get('/user');
|
||||
expect(returnedUser._id).to.equal(user._id);
|
||||
|
||||
expect(returnedUser.stats.maxMP).to.exists;
|
||||
expect(returnedUser.stats.maxMP).to.exist;
|
||||
expect(returnedUser.stats.maxHealth).to.equal(common.maxHealth);
|
||||
expect(returnedUser.stats.toNextLevel).to.equal(common.tnl(returnedUser.stats.lvl));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user