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