Fix synced pattern editing in write mode and refactor block editing mode to reducer #119847
unit-test.yml
on: pull_request
Compute previous WordPress version
5s
Build JavaScript assets for PHP unit tests
4m 38s
PHP coding standards
25s
Mobile
4m 10s
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
PHP
0s
Annotations
11 errors and 10 warnings
JavaScript (Node.js 22) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:113:39)
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:105: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
|
JavaScript (Node.js 22) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:187:30)
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:105: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
|
JavaScript (Node.js 22) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:230: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/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:315:40)
at processTicksAndRejections (node:internal/process/task_queues:105: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-
|
JavaScript (Node.js 22) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:341:30)
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:105: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
|
JavaScript (Node.js 22) 2/4
Process completed with exit code 1.
|
JavaScript (Node.js 20) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:113:39)
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-
|
JavaScript (Node.js 20) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:187:30)
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-
|
JavaScript (Node.js 20) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:230: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/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-c
|
JavaScript (Node.js 20) 2/4:
packages/block-editor/src/components/provider/test/use-block-sync.js#L2479
TypeError: addedBlocks?.forEach is not a function
at forEach (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2479:15)
at getDerivedBlockEditingModesUpdates (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2584:6)
at reducer (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/reducer.js:2663: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 dispatch (/home/runner/work/gutenberg/gutenberg/packages/data/src/redux-store/index.js:208:29)
at setHasControlledInnerBlocks (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:112:5)
at callback (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:326:4)
at Object.apply (/home/runner/work/gutenberg/gutenberg/packages/data/src/registry.js:204:30)
at batch (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/provider/use-block-sync.js:111:13)
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/provider/test/use-block-sync.js:341:30)
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-
|
JavaScript (Node.js 20) 2/4
Process completed with exit code 1.
|
Mobile
Process completed with exit code 1.
|
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript Date Tests (Node.js 22)
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 22) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
JavaScript (Node.js 20) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-assets
|
14 MB |
|