mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 11:46:23 +00:00
fix canOwn test
This commit is contained in:
parent
74b3b348ff
commit
8dbd3c3db1
1 changed files with 1 additions and 0 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue