Files
habitica/test/content/gear/weapon.js
T
2015-09-29 09:00:27 -05:00

19 lines
478 B
JavaScript

import weapon from '../../../common/script/src/content/gear/weapon';
import {each} from 'lodash';
describe('Weapon', () => {
each(weapon, (set) => {
each(set, (gear, key) => {
describe(`${key} Weapon`, () => {
it('has a valid text attribute', () => {
expectValidTranslationString(gear.text);
});
it('has a valid notes attribute', () => {
expectValidTranslationString(gear.notes);
});
});
});
});
});