mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
19 lines
478 B
JavaScript
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);
|
|
});
|
|
});
|
|
});
|
|
});
|
|
});
|