Task/WP-725: Mutation Hooks: Extract Files #6417
main.yml
on: pull_request
Server_Side_Unit_Tests
1m 33s
Server_Side_Linting
15s
Client_Side_Unit_Tests
1m 18s
Client_Side_Linting
23s
Annotations
3 errors
Client_Side_Linting
Process completed with exit code 1.
|
src/components/DataFiles/tests/DataFiles.test.jsx > DataFiles > should render Data Files with multiple private systems:
client/src/hooks/datafiles/mutations/useExtract.ts#L49
TypeError: Cannot read properties of undefined (reading 'portal_alloc')
❯ src/hooks/datafiles/mutations/useExtract.ts:49: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.useExtract src/hooks/datafiles/mutations/useExtract.ts:47:29
❯ DataFilesExtractModal src/components/DataFiles/DataFilesModals/DataFilesExtractModal.jsx:13:42
❯ 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.
|