Skip to content

Commit

Permalink
fix: test case name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayushsanjdev committed Oct 4, 2024
1 parent 30706f0 commit c76b739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/Unit/Components/Tasks/TaskDates.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('TaskDates Component', () => {
expect(input.value).toBe('');
});

it('should render correctly with admin role', () => {
it('should render input element correctly with admin role', () => {
renderWithRouter(
<Provider store={store()}>
<TaskDates
Expand All @@ -123,7 +123,7 @@ describe('TaskDates Component', () => {
expect(input).toBeInTheDocument();
});

it('should render correctly with non-admin role', () => {
it('should render input element correctly with non-admin role', () => {
jest.mock('@/hooks/useUserData', () => {
return () => ({
data: {
Expand Down

0 comments on commit c76b739

Please sign in to comment.