Manage controlled inner blocks in content only #118787
Annotations
10 errors and 1 warning
Running the tests:
packages/block-editor/src/store/test/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading '')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2708:12)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading '')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2746:12)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading '')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2763:12)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading 'block1')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2789:5)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading 'block1')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2816:5)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading 'block1')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2843:5)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading 'block1')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2872:5)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading 'block1')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2901:5)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading 'block1')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2930:5)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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/selectors.js#L2820
TypeError: Cannot read properties of undefined (reading 'block1')
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:2820:46)
at areInnerBlocksControlled (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:3037:9)
at selector (/home/runner/work/gutenberg/gutenberg/packages/data/src/factory.js:56:10)
at getBlockEditingMode (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/selectors.js:1690:7)
at callSelector (/home/runner/work/gutenberg/gutenberg/node_modules/rememo/rememo.cjs:270:18)
at Object.canInsertBlockType (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/store/test/selectors.js:2959:5)
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-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120: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)
|
Setup Node.js and install dependencies
Both node-version and node-version-file inputs are specified, only node-version will be used
|
Loading