From f7c207ba789a385066341c702e49da842e4e623c Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Wed, 25 Nov 2020 10:34:33 +0100 Subject: [PATCH] Fix languageFiles definition in unit tests --- src/T.spec.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/T.spec.jsx b/src/T.spec.jsx index aaee00b..315d1e3 100644 --- a/src/T.spec.jsx +++ b/src/T.spec.jsx @@ -7,8 +7,8 @@ import TProvider from './TProvider'; import { muteConsole, restoreConsole } from '../test-utils'; const languageFiles = { - 'de-DE': () => ({ 'Hello world!': 'Hallo Welt!' }), - 'es-ES': () => ({ 'Hello world!': '¡Hola Mundo!' }), + 'de-DE': ({ 'Hello world!': 'Hallo Welt!' }), + 'es-ES': ({ 'Hello world!': '¡Hola Mundo!' }), }; const syncLanguageFiles = { -- 2.54.0