Skip to content

Commit

Permalink
Fixed failing jest tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
adcoelho committed Mar 27, 2023
1 parent 68c3047 commit e2ad7a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ describe('Case View Page files tab', () => {
it('should render the utility bar for the files table', async () => {
const result = appMockRender.render(<CaseViewFiles caseData={caseData} />);

expect(await result.findByTestId('cases-add-file')).toBeInTheDocument();
expect(await result.findByTestId('case-detail-search-file')).toBeInTheDocument();
expect((await result.findAllByTestId('cases-files-add')).length).toBe(2);
expect(await result.findByTestId('cases-files-search')).toBeInTheDocument();
});

it('should render the files table', async () => {
Expand Down

0 comments on commit e2ad7a5

Please sign in to comment.