mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
use different i18n module for tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import i18n from '../../../common/script/src/i18n';
|
||||
import i18n from '../../../common/script/i18n';
|
||||
i18n.translations = require('../../../website/src/libs/api-v3/i18n').translations;
|
||||
|
||||
// Use this to verify error messages returned by the server
|
||||
@@ -16,4 +16,3 @@ export function translate (key, variables) {
|
||||
|
||||
return translatedString;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user