From 9c1e03c635716c300d985a93cc0ba7fca2f2b042 Mon Sep 17 00:00:00 2001 From: Biswajeet Das Date: Wed, 7 Aug 2024 18:50:49 +0530 Subject: [PATCH] fix(js): test (#6275) --- .../usecases/get-preferences/get-preferences.spec.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/api/src/app/inbox/usecases/get-preferences/get-preferences.spec.ts b/apps/api/src/app/inbox/usecases/get-preferences/get-preferences.spec.ts index f1170ab4401..50080d48c1d 100644 --- a/apps/api/src/app/inbox/usecases/get-preferences/get-preferences.spec.ts +++ b/apps/api/src/app/inbox/usecases/get-preferences/get-preferences.spec.ts @@ -45,7 +45,13 @@ const mockedPreferencesResponse: any = [ { level: PreferenceLevelEnum.GLOBAL, ...mockedGlobalPreferences.preference }, { level: PreferenceLevelEnum.TEMPLATE, - workflow: mockedWorkflowPreference.template, + workflow: { + critical: undefined, + id: undefined, + name: undefined, + tags: undefined, + triggers: undefined, + }, ...mockedWorkflowPreference.preference, }, ];