Task/WP-724: Mutation Hooks: Compress Files #6410
main.yml
on: pull_request
Server_Side_Unit_Tests
1m 30s
Server_Side_Linting
15s
Client_Side_Unit_Tests
1m 23s
Client_Side_Linting
30s
Annotations
2 errors
src/components/DataFiles/tests/DataFiles.test.jsx > DataFiles > should render Data Files with multiple private systems:
client/src/hooks/datafiles/mutations/useCompress.ts#L46
TypeError: Cannot read properties of undefined (reading 'portal_alloc')
❯ src/hooks/datafiles/mutations/useCompress.ts:46:25
❯ useSelectorWithStoreAndSubscription node_modules/react-redux/lib/hooks/useSelector.js:39:30
❯ Proxy.useSelector node_modules/react-redux/lib/hooks/useSelector.js:139:25
❯ Module.useCompress src/hooks/datafiles/mutations/useCompress.ts:44:29
❯ DataFilesCompressModal src/components/DataFiles/DataFilesModals/DataFilesCompressModal.jsx:17:43
❯ 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
|
Client_Side_Unit_Tests
Process completed with exit code 1.
|