From a04bf4c04501c592b13fd3c1e259e76905116101 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Mon, 29 Feb 2016 17:07:33 +0100 Subject: [PATCH] use different i18n module for tests --- test/helpers/api-integration/translate.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/helpers/api-integration/translate.js b/test/helpers/api-integration/translate.js index e3ad88b620..1e1ab83869 100644 --- a/test/helpers/api-integration/translate.js +++ b/test/helpers/api-integration/translate.js @@ -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; } -