mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
Add armoire and potion locale tests
This commit is contained in:
parent
c846cfd653
commit
61589ca262
2 changed files with 19 additions and 0 deletions
7
test/content/armoire.js
Normal file
7
test/content/armoire.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import armoire from '../../common/script/src/content/armoire';
|
||||
|
||||
describe('Armoire Locales', () => {
|
||||
it('has a valid text attribute', () => {
|
||||
expectValidTranslationString(armoire.text);
|
||||
});
|
||||
});
|
||||
12
test/content/health-potion.js
Normal file
12
test/content/health-potion.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import healthPotion from '../../common/script/src/content/health-potion';
|
||||
|
||||
describe('Health Potion Locales', () => {
|
||||
it('has a valid text attribute', () => {
|
||||
expectValidTranslationString(healthPotion.text);
|
||||
});
|
||||
|
||||
it('has a valid notes attribute', () => {
|
||||
expectValidTranslationString(healthPotion.notes);
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in a new issue