Implement Role-Based Access Control #547
Annotations
6 errors and 1 warning
src/__test__/dashBoard/dashBoardSideBar.test.tsx > DashboardSideNav > renders the sidebar items:
src/components/dashBoard/DashboardSideNav.tsx#L236
TypeError: Cannot read properties of undefined (reading 'includes')
❯ src/components/dashBoard/DashboardSideNav.tsx:236:29
❯ DashboardSideNav src/components/dashBoard/DashboardSideNav.tsx:235:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626: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
|
src/__test__/dashBoard/dashBoardSideBar.test.tsx > DashboardSideNav > expands and collapses the subitems:
src/components/dashBoard/DashboardSideNav.tsx#L236
TypeError: Cannot read properties of undefined (reading 'includes')
❯ src/components/dashBoard/DashboardSideNav.tsx:236:29
❯ DashboardSideNav src/components/dashBoard/DashboardSideNav.tsx:235:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626: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
|
src/__test__/dashBoard/dashBoardSideBar.test.tsx > DashboardSideNav > renders the subitems correctly:
src/components/dashBoard/DashboardSideNav.tsx#L236
TypeError: Cannot read properties of undefined (reading 'includes')
❯ src/components/dashBoard/DashboardSideNav.tsx:236:29
❯ DashboardSideNav src/components/dashBoard/DashboardSideNav.tsx:235:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626: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
|
src/__test__/dashBoard/dashBoardSideBar.test.tsx > DashboardSideNav > handles keydown events for subitems:
src/components/dashBoard/DashboardSideNav.tsx#L236
TypeError: Cannot read properties of undefined (reading 'includes')
❯ src/components/dashBoard/DashboardSideNav.tsx:236:29
❯ DashboardSideNav src/components/dashBoard/DashboardSideNav.tsx:235:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626: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
|
src/__test__/dashBoard/dashBoardSideBar.test.tsx > DashboardSideNav > toggles sidebar visibility:
src/components/dashBoard/DashboardSideNav.tsx#L236
TypeError: Cannot read properties of undefined (reading 'includes')
❯ src/components/dashBoard/DashboardSideNav.tsx:236:29
❯ DashboardSideNav src/components/dashBoard/DashboardSideNav.tsx:235:27
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626: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
|
build (20.x)
Process completed with exit code 1.
|
build (20.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|