From 7d58116c5829b75a200407a15e214ba2cc184b73 Mon Sep 17 00:00:00 2001 From: Daniel Bisgrove Date: Wed, 26 Jun 2024 15:41:19 -0400 Subject: [PATCH] Fixing tests --- src/components/Tool/Appeal/NoAppeal.test.tsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/Tool/Appeal/NoAppeal.test.tsx b/src/components/Tool/Appeal/NoAppeal.test.tsx index 4bacd0bc1e..79484d01f2 100644 --- a/src/components/Tool/Appeal/NoAppeal.test.tsx +++ b/src/components/Tool/Appeal/NoAppeal.test.tsx @@ -1,14 +1,18 @@ import React from 'react'; +import { ThemeProvider } from '@mui/material/styles'; import { render } from '@testing-library/react'; import TestWrapper from '__tests__/util/TestWrapper'; +import theme from 'src/theme'; import NoAppeals from './NoAppeals'; describe('NoAppeals', () => { it('regular', () => { const { queryByText } = render( - - - , + + + + + , ); expect(queryByText('No Appeals have been setup yet.')).toBeInTheDocument(); expect( @@ -18,9 +22,11 @@ describe('NoAppeals', () => { it('primary', () => { const { queryByText } = render( - - - , + + + + + , ); expect( queryByText('No Appeals have been setup yet.'),