Revert "fix: refactor i18n loadTranslations and set timeout to 3s (#22633)"
This reverts commit 6ff20b98f4.
This commit is contained in:
1 parent
29349845f8
commit
02c0b721b9
9 files changed
+53
-96
No files matched your search
@@ -26,12 +26,7 @@ vi.mock("@calcom/emails/email-manager", () => {
|
||||
|
||||
vi.mock("@calcom/lib/server/i18n", () => {
|
||||
return {
|
||||
getTranslation: async (locale: string, namespace: string) => {
|
||||
const t = (key: string) => key;
|
||||
t.locale = locale;
|
||||
t.namespace = namespace;
|
||||
return t;
|
||||
},
|
||||
getTranslation: (key: string) => key,
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user