From cf246066863bb5176ac7328cfad7f693ec702a18 Mon Sep 17 00:00:00 2001 From: Dan Ditomaso Date: Wed, 25 Jun 2025 15:37:02 -0400 Subject: [PATCH] updating test setup --- src/tests/setup.ts | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/src/tests/setup.ts b/src/tests/setup.ts index d9c3279e..af03017e 100644 --- a/src/tests/setup.ts +++ b/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();