diff --git a/test/content/food.js b/test/content/food.js new file mode 100644 index 0000000000..d9063ed0d6 --- /dev/null +++ b/test/content/food.js @@ -0,0 +1,16 @@ +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); + }); + }); + }); +});