From 7fe1499dfb082045c5d7e3e76363a13e9d8e3618 Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Fri, 10 Feb 2017 18:18:17 -0200 Subject: [#922] Adds integration test for translations with @tayanefernandes --- web-ui/test/integration/i18n.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 web-ui/test/integration/i18n.js (limited to 'web-ui/test/integration/i18n.js') diff --git a/web-ui/test/integration/i18n.js b/web-ui/test/integration/i18n.js new file mode 100644 index 00000000..099df2d7 --- /dev/null +++ b/web-ui/test/integration/i18n.js @@ -0,0 +1,14 @@ +import i18n from 'i18next'; +import translations from '../../app/locales/en_US/translation.json'; + +i18n + .init({ + lng: 'en', + resources: { + en: { + translation: translations + } + } + }); + +export default i18n; -- cgit v1.2.3