mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-07 07:59:26 +02:00
Update vitest.setup.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
8f9edf38e8
commit
59f9c3e68d
@ -49,7 +49,6 @@ vi.mock("i18next", async importOriginal => {
|
|||||||
try {
|
try {
|
||||||
const localeFiles = import.meta.glob("../public/locales/en/**/*.json", { eager: true });
|
const localeFiles = import.meta.glob("../public/locales/en/**/*.json", { eager: true });
|
||||||
const json = localeFiles[`../public/locales/en/${filename}`] || {};
|
const json = localeFiles[`../public/locales/en/${filename}`] || {};
|
||||||
//
|
|
||||||
if (import.meta.env.VITE_I18N_DEBUG === "1") {
|
if (import.meta.env.VITE_I18N_DEBUG === "1") {
|
||||||
console.log("Loaded locale", filename);
|
console.log("Loaded locale", filename);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user