[ISSUE 13] - view shopping list items in order of how soon they to need to be bought again #152
Annotations
2 errors
tests/List.test.jsx > List Component > triggers alert and redirects when no list path is found in localStorage:
src/views/List.jsx#L18
TypeError: Cannot read properties of null (reading 'slice')
❯ List2 src/views/List.jsx:18:28
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ updateSimpleMemoComponent node_modules/react-dom/cjs/react-dom.development.js:19454:10
❯ updateMemoComponent node_modules/react-dom/cjs/react-dom.development.js:19303:14
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21712:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
|
Run Tests
Process completed with exit code 1.
|