mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +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
@@ -38,19 +38,19 @@ describe('shared.ops.equip', () => {
|
||||
|
||||
// one-handed to one-handed
|
||||
let [, message] = equip(user, {params: {key: 'weapon_warrior_2'}});
|
||||
expect(message).to.not.exists;
|
||||
expect(message).to.not.exist;
|
||||
|
||||
// one-handed to two-handed
|
||||
[, message] = equip(user, {params: {key: 'weapon_wizard_1'}});
|
||||
expect(message).to.not.exists;
|
||||
expect(message).to.not.exist;
|
||||
|
||||
// two-handed to two-handed
|
||||
[, message] = equip(user, {params: {key: 'weapon_wizard_2'}});
|
||||
expect(message).to.not.exists;
|
||||
expect(message).to.not.exist;
|
||||
|
||||
// two-handed to one-handed
|
||||
[, message] = equip(user, {params: {key: 'weapon_warrior_2'}});
|
||||
expect(message).to.not.exists;
|
||||
expect(message).to.not.exist;
|
||||
});
|
||||
|
||||
it('should send messages if equipping a two-hander causes the off-hander to be unequipped', () => {
|
||||
|
||||
Reference in New Issue
Block a user