mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
22 lines
538 B
JavaScript
22 lines
538 B
JavaScript
|
|
import {allEggs} from '../../common/script/src/content/eggs';
|
||
|
|
import {each} from 'lodash';
|
||
|
|
|
||
|
|
describe('Egg Locales', () => {
|
||
|
|
each(allEggs, (egg, key) => {
|
||
|
|
describe(`${key} Egg`, () => {
|
||
|
|
it('has a valid text attribute', () => {
|
||
|
|
expectValidTranslationString(egg.text);
|
||
|
|
});
|
||
|
|
|
||
|
|
it('has a valid notes attribute', () => {
|
||
|
|
expectValidTranslationString(egg.notes);
|
||
|
|
});
|
||
|
|
|
||
|
|
it('has a valid ajective attribute', () => {
|
||
|
|
expectValidTranslationString(egg.adjective);
|
||
|
|
});
|
||
|
|
});
|
||
|
|
});
|
||
|
|
});
|
||
|
|
|