mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
17 lines
472 B
JavaScript
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);
|
||
|
|
});
|
||
|
|
});
|
||
|
|
});
|
||
|
|
});
|