Skip to content

Commit

Permalink
comment out List test for debugging purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
kweeuhree committed Oct 19, 2024
1 parent ba741ee commit 52a3b6f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/List.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ describe('List Component', () => {
});
});

test('shows welcome message and AddItems component when no items are present', () => {
render(<List data={[]} listPath={'/groceries'} />);
// test('shows welcome message and AddItems component when no items are present', () => {
// render(<List data={[]} listPath={'/groceries'} />);

expect(screen.getByText('Welcome to groceries!')).toBeInTheDocument();
expect(screen.getByLabelText('Item Name:')).toBeInTheDocument();
expect(screen.getByLabelText('Soon')).toBeInTheDocument();
expect(screen.getByLabelText('Kind of soon')).toBeInTheDocument();
expect(screen.getByLabelText('Not soon')).toBeInTheDocument();
expect(screen.getByText('Submit')).toBeInTheDocument();
});
// expect(screen.getByText('Welcome to groceries!')).toBeInTheDocument();
// expect(screen.getByLabelText('Item Name:')).toBeInTheDocument();
// expect(screen.getByLabelText('Soon')).toBeInTheDocument();
// expect(screen.getByLabelText('Kind of soon')).toBeInTheDocument();
// expect(screen.getByLabelText('Not soon')).toBeInTheDocument();
// expect(screen.getByText('Submit')).toBeInTheDocument();
// });
});

0 comments on commit 52a3b6f

Please sign in to comment.