#9493 Add Image Button to Rich Text Editor #22847
Annotations
10 errors and 1 warning
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (src/components/richTextEditor/RichTextEditor.test.tsx:12:11)
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (src/components/richTextEditor/RichTextEditor.test.tsx:23:11)
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (src/components/richTextEditor/RichTextEditor.test.tsx:34:11)
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (src/components/richTextEditor/RichTextEditor.test.tsx:50:11)
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at src/components/richTextEditor/RichTextEditor.test.tsx:73:15
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at src/components/richTextEditor/RichTextEditor.test.tsx:73:15
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at src/components/richTextEditor/RichTextEditor.test.tsx:73:15
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at src/components/richTextEditor/RichTextEditor.test.tsx:73:15
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at src/components/richTextEditor/RichTextEditor.test.tsx:73:15
|
Run npm run test --workspaces -- --coverage:
applications/browser-extension/src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts#L86
could not find react-redux context value; please ensure the component is wrapped in a <Provider>
at useReduxContext (../../node_modules/react-redux/lib/hooks/useReduxContext.js:23:13)
at useStore (../../node_modules/react-redux/lib/hooks/useStore.js:24:9)
at useDispatch (../../node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at ../../node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:992:24
at useUploadAsset (src/components/richTextEditor/toolbar/ImageButton/useUploadAsset.ts:86:65)
at ImageButton (src/components/richTextEditor/toolbar/ImageButton/index.tsx:40:37)
at renderWithHooks (../../node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at mountIndeterminateComponent (../../node_modules/react-dom/cjs/react-dom.development.js:17811:13)
at beginWork (../../node_modules/react-dom/cjs/react-dom.development.js:19049:16)
at HTMLUnknownElement.callCallback (../../node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (../../node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (../../node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (../../node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (../../node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (../../node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (../../node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (../../node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (../../node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (../../node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at ../../node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (../../node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (../../node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (../../node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at ../../node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (../../node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (../../node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (../../node_modules/@testing-library/react/dist/pure.js:97:26)
at src/components/richTextEditor/RichTextEditor.test.tsx:73:15
|
Run actions/setup-node@v4
Could not determine node version from /home/runner/work/pixiebrix-extension/pixiebrix-extension/applications/browser-extension/package.json. Falling back
|
Loading