Manage controlled inner blocks in content only #119207
Annotations
4 errors and 1 warning
Running the tests:
test/integration/is-valid-block.test.js#L81
TypeError: Cannot read properties of undefined (reading 'useLayoutClasses')
at Object.get [as useLayoutClasses] (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/index.js:81:20)
at Object.useLayoutClasses (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/private-apis.js:75:2)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-inspector/index.js:32:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/index.js:112:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/utils.js:18:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/index.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/index.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/core-data/src/footnotes/get-rich-text-values-cached.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.r
|
Running the tests:
test/integration/is-valid-block.test.js#L81
TypeError: Cannot read properties of undefined (reading 'useLayoutClasses')
at Object.get [as useLayoutClasses] (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/index.js:81:20)
at Object.useLayoutClasses (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/private-apis.js:75:2)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-inspector/index.js:32:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/index.js:112:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/utils.js:18:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/index.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/index.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/core-data/src/footnotes/get-rich-text-values-cached.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.r
|
Running the tests:
test/integration/is-valid-block.test.js#L81
TypeError: Cannot read properties of undefined (reading 'useLayoutClasses')
at Object.get [as useLayoutClasses] (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/index.js:81:20)
at Object.useLayoutClasses (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/private-apis.js:75:2)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/block-inspector/index.js:32:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/components/index.js:112:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/utils.js:18:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/hooks/index.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/block-editor/src/index.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at Runtime.requireModuleOrMock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1039:21)
at Object.require (/home/runner/work/gutenberg/gutenberg/packages/core-data/src/footnotes/get-rich-text-values-cached.js:4:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.r
|
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