1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-16 13:46:16 +02:00

Added date and time utilities.

This commit is contained in:
Maciej Lenartowicz
2020-02-20 14:30:28 +01:00
parent 5939e9dd0e
commit 9fbc4e8383
6 changed files with 63 additions and 3 deletions

View File

@ -17,7 +17,7 @@ global.afterEach(() => {
global._ = (str) => str;
global.ngettext = (str) => str;
global.babel = { format: (str) => str };
global.ForisTranslations = {};
global.ForisTranslations = { locale: "en" };
// Mock web sockets
window.WebSocket = jest.fn();