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

19 lines
478 B
JavaScript

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