mirror of
https://github.com/HabitRPG/habitica.git
synced 2026-05-04 03:20:42 -05:00
fix canOwn test
This commit is contained in:
@@ -3,6 +3,7 @@ import armoireSet from '../../../website/common/script/content/gear/sets/armoire
|
||||
describe('armoireSet items', () => {
|
||||
it('checks if canOwn has the same id', () => {
|
||||
Object.keys(armoireSet).forEach(type => {
|
||||
if (type === 'all') return;
|
||||
Object.keys(armoireSet[type]).forEach(itemKey => {
|
||||
const ownedKey = `${type}_armoire_${itemKey}`;
|
||||
expect(armoireSet[type][itemKey].canOwn({
|
||||
|
||||
Reference in New Issue
Block a user