Allow template part editing in write mode #121590
Annotations
10 errors and 1 warning
Running the tests:
packages/block-editor/src/components/provider/test/experimental-provider.js#L22
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: state.blockEditingModes.entries(...).some is not a function]]],["The above error occurred in one of your React components:·
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:29:7)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:59:12)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:40)
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:39:3)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:245:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/block-editor/src/components/provider/test/experimental-provider.js#L2285
TypeError: state.blockEditingModes.entries(...).some is not a function
at some (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2285:4)
at getDerivedBlockEditingModesForTree (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2831:7)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2857:21)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/combine-reducers.js:10:28)
at dispatch (/home/runner/work/gutenberg/gutenberg/node_modules/redux/src/createStore.ts:214:22)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/thunk-middleware.js:7:10)
at next (/home/runner/work/gutenberg/gutenberg/packages/redux-routine/src/index.js:24:12)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/promise-middleware.js:20:9)
at Object.next [as dispatch] (/home/runner/work/gutenberg/gutenberg/packages/data/src/resolvers-cache-middleware.js:45:10)
at Object.dispatch [as apply] (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:228:12)
at dispatch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/actions.js:53:3)
at action (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/thunk-middleware.js:4:11)
at next (/home/runner/work/gutenberg/gutenberg/packages/redux-routine/src/index.js:24:12)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/promise-middleware.js:20:9)
at Object.next [as dispatch] (/home/runner/work/gutenberg/gutenberg/packages/data/src/resolvers-cache-middleware.js:45:10)
at dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at resetBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:139:4)
at unsetControlledBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:296:4)
at safelyCallDestroy (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:22971:5)
at commitHookEffectListUnmount (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:23139:11)
at commitPassiveUnmountInsideDeletedTreeOnFiber (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25140:11)
at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25087:5)
at commitPassiveUnmountEffects_begin (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24995:11)
at commitPassiveUnmountEffects (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24980:3)
at flushPassiveEffectsImpl (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27077:3)
at flushPassiveEffects (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
at commitRootImpl (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26974:5)
at commitRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
at performSyncWorkOnRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
at flushSyncCallbacks (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
at ReactDOMRoot.Object.<anonymous>.ReactDOMHydrationRoot.unmount.ReactDOMRoot.unmount [as unmount] (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:29375:5)
at Object.unmount (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist
|
Running the tests:
packages/block-editor/src/components/provider/test/experimental-provider.js#L22
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: state.blockEditingModes.entries(...).some is not a function]]],["The above error occurred in one of your React components:·
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:29:7)
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:59:12)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:40)
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:39:3)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:245:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/block-editor/src/components/provider/test/experimental-provider.js#L2285
TypeError: state.blockEditingModes.entries(...).some is not a function
at some (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2285:4)
at getDerivedBlockEditingModesForTree (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2831:7)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2857:21)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/combine-reducers.js:10:28)
at dispatch (/home/runner/work/gutenberg/gutenberg/node_modules/redux/src/createStore.ts:214:22)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/thunk-middleware.js:7:10)
at next (/home/runner/work/gutenberg/gutenberg/packages/redux-routine/src/index.js:24:12)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/promise-middleware.js:20:9)
at Object.next [as dispatch] (/home/runner/work/gutenberg/gutenberg/packages/data/src/resolvers-cache-middleware.js:45:10)
at Object.dispatch [as apply] (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:228:12)
at dispatch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/actions.js:53:3)
at action (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/thunk-middleware.js:4:11)
at next (/home/runner/work/gutenberg/gutenberg/packages/redux-routine/src/index.js:24:12)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/promise-middleware.js:20:9)
at Object.next [as dispatch] (/home/runner/work/gutenberg/gutenberg/packages/data/src/resolvers-cache-middleware.js:45:10)
at dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at resetBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:139:4)
at unsetControlledBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:296:4)
at safelyCallDestroy (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:22971:5)
at commitHookEffectListUnmount (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:23139:11)
at commitPassiveUnmountInsideDeletedTreeOnFiber (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25140:11)
at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:25087:5)
at commitPassiveUnmountEffects_begin (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24995:11)
at commitPassiveUnmountEffects (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24980:3)
at flushPassiveEffectsImpl (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27077:3)
at flushPassiveEffects (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
at commitRootImpl (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26974:5)
at commitRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
at performSyncWorkOnRoot (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
at flushSyncCallbacks (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
at ReactDOMRoot.Object.<anonymous>.ReactDOMHydrationRoot.unmount.ReactDOMRoot.unmount [as unmount] (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:29375:5)
at Object.unmount (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist
|
Running the tests:
packages/block-editor/src/components/block-preview/test/index.js#L2285
TypeError: state.blockEditingModes.entries(...).some is not a function
at some (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2285:4)
at getDerivedBlockEditingModesForTree (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2831:7)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2857:21)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/combine-reducers.js:10:28)
at dispatch (/home/runner/work/gutenberg/gutenberg/node_modules/redux/src/createStore.ts:214:22)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/thunk-middleware.js:7:10)
at next (/home/runner/work/gutenberg/gutenberg/packages/redux-routine/src/index.js:24:12)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/promise-middleware.js:20:9)
at Object.next [as dispatch] (/home/runner/work/gutenberg/gutenberg/packages/data/src/resolvers-cache-middleware.js:45:10)
at Object.dispatch [as apply] (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:228:12)
at dispatch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/actions.js:53:3)
at action (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/thunk-middleware.js:4:11)
at next (/home/runner/work/gutenberg/gutenberg/packages/redux-routine/src/index.js:24:12)
at next (/home/runner/work/gutenberg/gutenberg/packages/data/src/promise-middleware.js:20:9)
at Object.next [as dispatch] (/home/runner/work/gutenberg/gutenberg/packages/data/src/resolvers-cache-middleware.js:45:10)
at dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at resetBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:126:4)
at setControlledBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:176:4)
at commitHookEffectListMount (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
at commitPassiveMountOnFiber (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24970:11)
at commitPassiveMountEffects_complete (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24930:9)
at commitPassiveMountEffects_begin (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24917:7)
at commitPassiveMountEffects (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:24905:3)
at flushPassiveEffectsImpl (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27078:3)
at flushPassiveEffects (/home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
at /home/runner/work/gutenberg/gutenberg/node_modules/react-dom/cjs/react-dom.development.js:26808:9
at flushActQueue (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/gutenberg/gutenberg/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:180:26)
at render (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/react/dist/pure.js:271:10)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-preview/test/index.js:61:9)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/wo
|
Running the tests:
packages/block-editor/src/components/block-preview/test/index.js#L22
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [TypeError: state.blockEditingModes.entries(...).some is not a function]]],["The above error occurred in one of your React components:·
at children (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/index.js:22:11)
at useSubRegistry (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/with-registry-provider.js:29:7)
at div
at blocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-preview/test/index.js:44:36)·
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries."]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/block-editor/src/store/test/performance.js#L2285
TypeError: state.blockEditingModes.entries(...).some is not a function
at some (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2285:4)
at getDerivedBlockEditingModesForTree (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2831:7)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2857:21)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/performance.js:20:26)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/block-editor/src/store/test/performance.js#L2502
TypeError: Cannot read properties of undefined (reading 'derivedBlockEditingModes')
at derivedBlockEditingModes (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2502:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2692:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2857:21)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/performance.js:40:31)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests:
packages/block-editor/src/store/test/performance.js#L1054
TypeError: Cannot read properties of undefined (reading 'length')
at length (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:1054:17)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/combine-reducers.js:10:28)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:733:9)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:263:20)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:587:9)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:640:10)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:624:9)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:452:19)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:528:21)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:754:9)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/combine-reducers.js:10:28)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2568:21)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2857:21)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/performance.js:63:31)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
Running the tests
Process completed with exit code 1.
|
Setup Node.js and install dependencies
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Loading