Files
habitica/test/content/hatching-potions.js
2015-09-29 08:09:43 -05:00

17 lines
472 B
JavaScript

import hatchingPotions from '../../common/script/src/content/hatching-potions';
import {each} from 'lodash';
describe('Hatching Potion Locales', () => {
each(hatchingPotions, (potion, key) => {
describe(`${key} Potion`, () => {
it('has a valid text attribute', () => {
expectValidTranslationString(potion.text);
});
it('has a valid notes attribute', () => {
expectValidTranslationString(potion.notes);
});
});
});
});