UISACQCOMP-166: configure the plugin via props #572
5 fail, 1 skipped, 374 pass in 4m 21s
Annotations
Check warning on line 0 in DonorsContainer should render component
github-actions / Jest Unit Test Results
DonorsContainer should render component (DonorsContainer should render component) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot convert undefined or null to object
at Function.values (<anonymous>)
at /home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:15:15
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:444:39
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:452:13
at mockConstructor (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:103:19)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29685:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:46:48)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:61:5)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
Check warning on line 0 in DonorsContainer should render Loading component
github-actions / Jest Unit Test Results
DonorsContainer should render Loading component (DonorsContainer should render Loading component) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot convert undefined or null to object
at Function.values (<anonymous>)
at /home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:15:15
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:444:39
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:452:13
at mockConstructor (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:103:19)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29685:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:46:48)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:72:5)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
Check warning on line 0 in DonorsContainer should call `useFetchDonors` with `donorOrganizationIds`
github-actions / Jest Unit Test Results
DonorsContainer should call `useFetchDonors` with `donorOrganizationIds` (DonorsContainer should call `useFetchDonors` with `donorOrganizationIds`) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot convert undefined or null to object
at Function.values (<anonymous>)
at /home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:15:15
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:444:39
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:452:13
at mockConstructor (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-mock/build/index.js:103:19)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29685:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:46:48)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsContainer.test.js:85:5)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
Check warning on line 0 in DonorsList should render component
github-actions / Jest Unit Test Results
DonorsList should render component (DonorsList should render component) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'hasPerm')
at DonorsList (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsList.js:62:40)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29685:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsList.test.js:21:48)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsList.test.js:31:5)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
Check warning on line 0 in DonorsList should render the list of donor organizations
github-actions / Jest Unit Test Results
DonorsList should render the list of donor organizations (DonorsList should render the list of donor organizations) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'hasPerm')
at DonorsList (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsList.js:62:40)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26085:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26201:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29575:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29601:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29685:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsList.test.js:21:48)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/DonorsList/DonorsList.test.js:37:5)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41