Skip to content

Commit

Permalink
fix: fixed faling test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
1010varun committed Feb 9, 2024
1 parent e02c75a commit 38ba274
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/OrgListCard/OrgListCard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ describe('Testing the Super Dash List', () => {
</MockedProvider>
);
expect(screen.getByAltText(/Dogs Care image/i)).toBeInTheDocument();
expect(screen.getByText('Admins:')).toBeInTheDocument();
expect(screen.getByText('Members:')).toBeInTheDocument();
expect(screen.getByText('Admins: ')).toBeInTheDocument();
expect(screen.getByText('Members: ')).toBeInTheDocument();
expect(screen.getByText('Dogs Care')).toBeInTheDocument();
expect(screen.getByText(/Sample City/i)).toBeInTheDocument();
userEvent.click(screen.getByTestId(/manageBtn/i));
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Users/UsersMocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const MOCKS = [
sortingCode: 'ABC-123',
state: 'Kingston Parish',
},
desccription: 'this is a sample description',
description: 'this is a sample description',
},
],
},
Expand Down

0 comments on commit 38ba274

Please sign in to comment.