tests: add test cases #555
7 fail, 252 pass in 3m 40s
Annotations
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
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)
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)
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)
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)
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)
Check warning on line 0 in EditContact utils should update privileged contact when with id
github-actions / Jest Unit Test Results
EditContact utils should update privileged contact when with id (EditContact utils should update privileged contact when with id) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'PUT')
at PUT (/home/runner/work/ui-organizations/ui-organizations/src/contacts/EditContact/util.js:5:67)
at Object.<anonymous> (/home/runner/work/ui-organizations/ui-organizations/src/contacts/EditContact/util.test.js:56:22)
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)