From c02d41011f11b53ec3a8ad7f521287fda89be0c4 Mon Sep 17 00:00:00 2001 From: Jonathan Laperle Date: Fri, 5 Jul 2024 22:22:26 -0400 Subject: [PATCH] remove config mock --- .../analysis/modules/ResetPassword.test.ts | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/client/src/entry/analysis/modules/ResetPassword.test.ts b/client/src/entry/analysis/modules/ResetPassword.test.ts index cae83aa1b421..d172a1ecdce5 100644 --- a/client/src/entry/analysis/modules/ResetPassword.test.ts +++ b/client/src/entry/analysis/modules/ResetPassword.test.ts @@ -7,26 +7,6 @@ import ResetPassword from "./ResetPassword.vue"; const localVue = getLocalVue(true); -const configMock = { - allow_user_creation: true, - enable_oidc: true, - mailing_join_addr: "mailing_join_addr", - prefer_custos_login: true, - registration_warning_message: "registration_warning_message", - server_mail_configured: true, - show_welcome_with_login: true, - terms_url: "terms_url", - welcome_url: "welcome_url", -}; - -jest.mock("app/singleton"); -jest.mock("@/composables/config", () => ({ - useConfig: jest.fn(() => ({ - config: configMock, - isConfigLoaded: true, - })), -})); - const mockRouter = (query: object) => ({ currentRoute: { query,