mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
17 lines
425 B
JavaScript
17 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);
|
|
});
|
|
});
|
|
});
|
|
});
|