From 2c0bfa6a6a92d7d321ccebbba92f410dc67fb263 Mon Sep 17 00:00:00 2001 From: Mantra Date: Tue, 5 Nov 2024 18:08:00 +0000 Subject: [PATCH] update server tests --- app/server/tests/controllers/appsController.test.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/server/tests/controllers/appsController.test.ts b/app/server/tests/controllers/appsController.test.ts index 0c27d2012..3a1ccb991 100644 --- a/app/server/tests/controllers/appsController.test.ts +++ b/app/server/tests/controllers/appsController.test.ts @@ -30,6 +30,7 @@ describe("appsController", () => { wodinConfig: { baseUrl: "http://localhost:3000", courseTitle: "Test Course Title", + hotReload: false, ...wodinConfig }, wodinVersion: "1.2.3" @@ -82,7 +83,8 @@ describe("appsController", () => { shareNotFound: "", mathjaxSrc, defaultLanguage: "en", - enableI18n: false + enableI18n: false, + hotReload: false }); expect(mockStatus).not.toBeCalled(); }); @@ -104,7 +106,8 @@ describe("appsController", () => { shareNotFound: "", mathjaxSrc, defaultLanguage: "en", - enableI18n: false + enableI18n: false, + hotReload: false }); }); @@ -130,7 +133,8 @@ describe("appsController", () => { shareNotFound: "", mathjaxSrc, defaultLanguage: "en", - enableI18n: false + enableI18n: false, + hotReload: false }); }); @@ -154,7 +158,8 @@ describe("appsController", () => { shareNotFound: "tiny-mouse", mathjaxSrc, defaultLanguage: "en", - enableI18n: false + enableI18n: false, + hotReload: false }); });