UIIN-3159: Display holdings names in Consortial holdings accordion fo… #8403
GitHub Actions / Jest Unit Test Results
failed
Dec 17, 2024 in 0s
1 fail, 2 skipped, 1 020 pass in 15m 4s
Annotations
Check warning on line 0 in LimitedHoldingsList should render holdings list
github-actions / Jest Unit Test Results
LimitedHoldingsList should render holdings list (LimitedHoldingsList should render holdings list) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot destructure property 'locationsById' of '((cov_69iqww3qi(...).s[1]++) , (0 , _react.useContext)(...))' as it is undefined.
at locationsById (/home/runner/work/ui-inventory/ui-inventory/src/Instance/HoldingsList/consortium/LimitedHoldingsList/LimitedHoldingsList.js:14:11)
at renderWithHooks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at recoverFromConcurrentError (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25889:20)
at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25789:22)
at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
at renderLimitedHoldingsList (/home/runner/work/ui-inventory/ui-inventory/src/Instance/HoldingsList/consortium/LimitedHoldingsList/LimitedHoldingsList.test.js:42:24)
at Object.renderLimitedHoldingsList (/home/runner/work/ui-inventory/ui-inventory/src/Instance/HoldingsList/consortium/LimitedHoldingsList/LimitedHoldingsList.test.js:47:5)
at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)
Loading