mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
17 lines
438 B
JavaScript
17 lines
438 B
JavaScript
import spells from '../../../common/script/src/content/spells/wizard';
|
|
import {each} from 'lodash';
|
|
|
|
describe('Mage Spells', () => {
|
|
each(spells, (spell, key) => {
|
|
describe(`${key} Spell`, () => {
|
|
it('has a valid text attribute', () => {
|
|
expectValidTranslationString(spell.text);
|
|
});
|
|
|
|
it('has a valid notes attribute', () => {
|
|
expectValidTranslationString(spell.notes);
|
|
});
|
|
});
|
|
});
|
|
});
|