From 8b8eb9c1f67c302b0eb794b0ebd4a4821a172537 Mon Sep 17 00:00:00 2001 From: Mantra Date: Tue, 5 Nov 2024 18:10:33 +0000 Subject: [PATCH] fix server tests --- app/server/tests/controllers/appsController.test.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/server/tests/controllers/appsController.test.ts b/app/server/tests/controllers/appsController.test.ts index 3a1ccb99..ac1fe9cc 100644 --- a/app/server/tests/controllers/appsController.test.ts +++ b/app/server/tests/controllers/appsController.test.ts @@ -30,7 +30,6 @@ describe("appsController", () => { wodinConfig: { baseUrl: "http://localhost:3000", courseTitle: "Test Course Title", - hotReload: false, ...wodinConfig }, wodinVersion: "1.2.3" @@ -84,7 +83,7 @@ describe("appsController", () => { mathjaxSrc, defaultLanguage: "en", enableI18n: false, - hotReload: false + hotReload: undefined }); expect(mockStatus).not.toBeCalled(); }); @@ -107,7 +106,7 @@ describe("appsController", () => { mathjaxSrc, defaultLanguage: "en", enableI18n: false, - hotReload: false + hotReload: undefined }); }); @@ -134,7 +133,7 @@ describe("appsController", () => { mathjaxSrc, defaultLanguage: "en", enableI18n: false, - hotReload: false + hotReload: undefined }); }); @@ -159,7 +158,7 @@ describe("appsController", () => { mathjaxSrc, defaultLanguage: "en", enableI18n: false, - hotReload: false + hotReload: undefined }); });