From e5021187e96b78b53203bd95d08d6818aea47d17 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 14 Jul 2021 15:10:31 +0200 Subject: New Ignite 7.0.6 app --- test/mock-i18n.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/mock-i18n.ts (limited to 'test/mock-i18n.ts') diff --git a/test/mock-i18n.ts b/test/mock-i18n.ts new file mode 100644 index 0000000..47a6417 --- /dev/null +++ b/test/mock-i18n.ts @@ -0,0 +1,5 @@ +jest.mock("i18n-js", () => { + return { + t: (key) => `${key}.test`, + } +}) -- cgit v1.2.3