From b95b8f9cc5a91686887ae97335315c942a46cb5a Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Fri, 19 Jan 2024 09:55:51 +0200 Subject: [PATCH] fix: add missing func to router test --- plugins/qeta-backend/src/service/router.test.ts | 1 + plugins/qeta/src/components/QuestionsContainer/FilterPanel.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/qeta-backend/src/service/router.test.ts b/plugins/qeta-backend/src/service/router.test.ts index 4e40e072..6f45f657 100644 --- a/plugins/qeta-backend/src/service/router.test.ts +++ b/plugins/qeta-backend/src/service/router.test.ts @@ -133,6 +133,7 @@ describe('createRouter', () => { markAnswerCorrect: jest.fn(), markAnswerIncorrect: jest.fn(), getTags: jest.fn(), + getEntities: jest.fn(), updateQuestion: jest.fn(), updateAnswer: jest.fn(), favoriteQuestion: jest.fn(), diff --git a/plugins/qeta/src/components/QuestionsContainer/FilterPanel.tsx b/plugins/qeta/src/components/QuestionsContainer/FilterPanel.tsx index 3270d80f..44057ba6 100644 --- a/plugins/qeta/src/components/QuestionsContainer/FilterPanel.tsx +++ b/plugins/qeta/src/components/QuestionsContainer/FilterPanel.tsx @@ -168,7 +168,7 @@ export const FilterPanel = (props: FilterPanelProps) => { Filters