Browse Source

updating test setup

pull/681/head
Dan Ditomaso 1 year ago
parent
commit
cf24606686
  1. 26
      src/tests/setup.ts

26
src/tests/setup.ts

@ -5,28 +5,34 @@ import "@testing-library/jest-dom";
import "@testing-library/user-event";
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import channelsEN from "@app/i18n/locales/en/channels.json" with {
import channelsEN from "../../public/i18n/locales/en/channels.json" with {
type: "json",
};
import commandPaletteEN from "@app/i18n/locales/en/commandPalette.json" with {
import commandPaletteEN from "../../public/i18n/locales/en/commandPalette.json" with {
type: "json",
};
import commonEN from "@app/i18n/locales/en/common.json" with { type: "json" };
import deviceConfigEN from "@app/i18n/locales/en/deviceConfig.json" with {
import commonEN from "../../public/i18n/locales/en/common.json" with {
type: "json",
};
import moduleConfigEN from "@app/i18n/locales/en/moduleConfig.json" with {
import deviceConfigEN from "../../public/i18n/locales/en/deviceConfig.json" with {
type: "json",
};
import dashboardEN from "@app/i18n/locales/en/dashboard.json" with {
import moduleConfigEN from "../../public/i18n/locales/en/moduleConfig.json" with {
type: "json",
};
import dialogEN from "@app/i18n/locales/en/dialog.json" with { type: "json" };
import messagesEN from "@app/i18n/locales/en/messages.json" with {
import dashboardEN from "../../public/i18n/locales/en/dashboard.json" with {
type: "json",
};
import nodesEN from "@app/i18n/locales/en/nodes.json" with { type: "json" };
import uiEN from "@app/i18n/locales/en/ui.json" with { type: "json" };
import dialogEN from "../../public/i18n/locales/en/dialog.json" with {
type: "json",
};
import messagesEN from "../../public/i18n/locales/en/messages.json" with {
type: "json",
};
import nodesEN from "../../public/i18n/locales/en/nodes.json" with {
type: "json",
};
import uiEN from "../../public/i18n/locales/en/ui.json" with { type: "json" };
enableMapSet();

Loading…
Cancel
Save