diff --git a/src/components/Tool/Appeal/AppealsContext/AppealsContext.test.tsx b/src/components/Tool/Appeal/AppealsContext/AppealsContext.test.tsx index c063f112c..9b0a6dff7 100644 --- a/src/components/Tool/Appeal/AppealsContext/AppealsContext.test.tsx +++ b/src/components/Tool/Appeal/AppealsContext/AppealsContext.test.tsx @@ -1,3 +1,4 @@ +import { NextRouter } from 'next/router'; import React, { useContext } from 'react'; import { Box, Button, Typography } from '@mui/material'; import { ThemeProvider } from '@mui/material/styles'; @@ -48,9 +49,39 @@ jest.mock('notistack', () => ({ }, })); +interface AppealStatusFilterTestComponentProps { + query?: NextRouter['query']; +} + +const AppealStatusFilterTestComponent: React.FC< + AppealStatusFilterTestComponentProps +> = ({ query }) => ( + + + + + + + + + +); + const TestRender: React.FC = () => { const { viewMode, + activeFilters, handleViewModeChange, userOptionsLoading, appealId, @@ -64,6 +95,7 @@ const TestRender: React.FC = () => { appealId: {appealId} contactDetailsId: {contactDetailsId} {viewMode} + appealStatus: {activeFilters.appealStatus}