fix(tests): correct for new content, fix lint

This commit is contained in:
Sabe Jones
2018-05-29 22:54:00 +00:00
parent fa142e929f
commit 97b99c0550
3 changed files with 15 additions and 1 deletions

View File

@@ -252,7 +252,7 @@ let schema = new Schema({
gear: {
owned: _.transform(shared.content.gear.flat, (m, v) => {
m[v.key] = {type: Boolean};
if (v.key.match(/(armor|head|shield)_warrior_0/) || v.gearSet === 'glasses' || v.gearSet === 'headband' ) {
if (v.key.match(/(armor|head|shield)_warrior_0/) || v.gearSet === 'glasses' || v.gearSet === 'headband') {
m[v.key].default = true;
}
}),