mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
api: add pagination for guilds
start adding apiMessages add apiMessages lib with tests use apiMessage and fix tests fix content tests guilds pagination: add api docs guilds pagination: improve api docs
This commit is contained in:
@@ -4,7 +4,7 @@ import translator from '../../website/common/script/content/translation';
|
||||
describe('Translator', () => {
|
||||
it('returns error message if string is not properly formatted', () => {
|
||||
let improperlyFormattedString = translator('petName', {attr: 0})();
|
||||
expect(improperlyFormattedString).to.eql(STRING_ERROR_MSG);
|
||||
expect(improperlyFormattedString).to.match(STRING_ERROR_MSG);
|
||||
});
|
||||
|
||||
it('returns an error message if string does not exist', () => {
|
||||
|
||||
Reference in New Issue
Block a user