mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
19 lines
468 B
JavaScript
19 lines
468 B
JavaScript
import head from '../../../common/script/src/content/gear/head';
|
|
import {each} from 'lodash';
|
|
|
|
describe('Head', () => {
|
|
each(head, (set) => {
|
|
each(set, (gear, key) => {
|
|
describe(`${key} Head`, () => {
|
|
it('has a valid text attribute', () => {
|
|
expectValidTranslationString(gear.text);
|
|
});
|
|
|
|
it('has a valid notes attribute', () => {
|
|
expectValidTranslationString(gear.notes);
|
|
});
|
|
});
|
|
});
|
|
});
|
|
});
|