mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01: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);
|
|
});
|
|
});
|
|
});
|
|
});
|