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