File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,18 @@ describe('List Component', () => {
35
35
} ) ;
36
36
} ) ;
37
37
38
- test ( 'shows welcome message and AddItems component when no items are present' , ( ) => {
39
- render (
40
- < MemoryRouter >
41
- < List data = { [ ] } listPath = { '/groceries' } />
42
- </ MemoryRouter > ,
43
- ) ;
38
+ // test('shows welcome message and AddItems component when no items are present', () => {
39
+ // render(
40
+ // <MemoryRouter>
41
+ // <List data={[]} listPath={'/groceries'} />
42
+ // </MemoryRouter>,
43
+ // );
44
44
45
- expect ( screen . getByText ( 'Welcome to groceries!' ) ) . toBeInTheDocument ( ) ;
46
- expect ( screen . getByLabelText ( 'Item Name:' ) ) . toBeInTheDocument ( ) ;
47
- expect ( screen . getByLabelText ( 'Soon' ) ) . toBeInTheDocument ( ) ;
48
- expect ( screen . getByLabelText ( 'Kind of soon' ) ) . toBeInTheDocument ( ) ;
49
- expect ( screen . getByLabelText ( 'Not soon' ) ) . toBeInTheDocument ( ) ;
50
- expect ( screen . getByText ( 'Submit' ) ) . toBeInTheDocument ( ) ;
51
- } ) ;
45
+ // expect(screen.getByText('Welcome to groceries!')).toBeInTheDocument();
46
+ // expect(screen.getByLabelText('Item Name:')).toBeInTheDocument();
47
+ // expect(screen.getByLabelText('Soon')).toBeInTheDocument();
48
+ // expect(screen.getByLabelText('Kind of soon')).toBeInTheDocument();
49
+ // expect(screen.getByLabelText('Not soon')).toBeInTheDocument();
50
+ // expect(screen.getByText('Submit')).toBeInTheDocument();
51
+ // });
52
52
} ) ;
You can’t perform that action at this time.
0 commit comments