Skip to content

UIORGS-397: add privileged donor contacts and crud operation for priv… #551

UIORGS-397: add privileged donor contacts and crud operation for priv…

UIORGS-397: add privileged donor contacts and crud operation for priv… #551

GitHub Actions / Jest Unit Test Results failed Dec 6, 2023 in 0s

6 fail, 251 pass in 3m 45s

    1 files    83 suites   3m 45s ⏱️
257 tests 251 ✔️ 0 💤 6
260 runs  254 ✔️ 0 💤 6

Results for commit db5327f.

Annotations

Check warning on line 0 in OrganizationDetails should display Donor Contacts accordion when both vendor and donor have been checked

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

OrganizationDetails should display Donor Contacts accordion when both vendor and donor have been checked (OrganizationDetails should display Donor Contacts accordion when both vendor and donor have been checked) failed

artifacts/jest-junit/junit.xml
Raw output
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of `OrganizationDetails`.
    at createFiberFromTypeAndProps (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:28439:17)
    at createFiberFromElement (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:28465:15)
    at reconcileSingleElement (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:15750:23)
    at reconcileChildFibers (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:15808:35)
    at reconcileChildren (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:19167:28)
    at updateHostComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:19924:3)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21618:14)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performSyncWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26096:20)
    at flushSyncCallbacks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26959:3)
    at commitRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26682:5)
    at finishConcurrentRender (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25981:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25809:7)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:161:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:247:10)
    at renderOrganizationDetails (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationDetails/OrganizationDetails.test.js:58:67)
    at Object.renderOrganizationDetails (/home/runner/work/ui-organizations/ui-organizations/src/Organizations/OrganizationDetails/OrganizationDetails.test.js:131:5)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ViewContact should render correct structure

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ViewContact should render correct structure (ViewContact should render correct structure) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'location')
    at location (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.js:55:42)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:161:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:247:10)
    at renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:35:59)
    at Object.renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:50:39)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ViewContact Actions should call unassign prop when unassign action is pressed

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ViewContact Actions should call unassign prop when unassign action is pressed (ViewContact Actions should call unassign prop when unassign action is pressed) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'location')
    at location (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.js:55:42)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:161:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:247:10)
    at renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:35:59)
    at Object.renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:61:7)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ViewContact Actions should call deleteContact prop when delete action is pressed

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ViewContact Actions should call deleteContact prop when delete action is pressed (ViewContact Actions should call deleteContact prop when delete action is pressed) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'location')
    at location (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.js:55:42)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:161:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:247:10)
    at renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:35:59)
    at Object.renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:74:7)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ViewContact Shortcuts should call expandAllSections when expandAllSections shortcut is called

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ViewContact Shortcuts should call expandAllSections when expandAllSections shortcut is called (ViewContact Shortcuts should call expandAllSections when expandAllSections shortcut is called) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'location')
    at location (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.js:55:42)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:161:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:247:10)
    at renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:35:59)
    at Object.renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:93:7)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ViewContact Shortcuts should call collapseAllSections when collapseAllSections shortcut is called

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ViewContact Shortcuts should call collapseAllSections when collapseAllSections shortcut is called (ViewContact Shortcuts should call collapseAllSections when collapseAllSections shortcut is called) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'location')
    at location (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.js:55:42)
    at renderWithHooks (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
    at mountIndeterminateComponent (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
    at beginWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
    at beginWork$1 (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
    at performUnitOfWork (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-organizations/ui-organizations/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at renderRoot (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:161:26)
    at render (/home/runner/work/ui-organizations/ui-organizations/node_modules/@testing-library/react/dist/pure.js:247:10)
    at renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:35:59)
    at Object.renderViewContact (/home/runner/work/ui-organizations/ui-organizations/src/contacts/ViewContact/ViewContact.test.js:101:7)
    at Promise.then.completed (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-organizations/ui-organizations/node_modules/jest-runner/build/testWorker.js:106:12)