Remove smart border style setting behavior #70724
unit-test.yml
on: pull_request
Compute previous WordPress version
2s
PHP coding standards
19s
Mobile
7m 54s
Matrix: JavaScript
Matrix: test-php
PHP
0s
Annotations
54 errors and 3 warnings
PHP coding standards
Process completed with exit code 2.
|
PHP coding standards:
lib/class-wp-theme-json-gutenberg.php#L1859
Expected 1 spaces before closing parenthesis; 0 found
|
PHP coding standards
Process completed with exit code 1.
|
PHP 7.0 on ubuntu-latest
Process completed with exit code 1.
|
PHP 8.0 multisite on ubuntu-latest
Process completed with exit code 1.
|
PHP 8.1 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 8.1 multisite on ubuntu-latest
The operation was canceled.
|
PHP 7.1 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.1 multisite on ubuntu-latest
The operation was canceled.
|
PHP 7.4 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.4 multisite on ubuntu-latest
The operation was canceled.
|
PHP 7.4 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.4 on ubuntu-latest
The operation was canceled.
|
PHP 7.0 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.0 multisite on ubuntu-latest
The operation was canceled.
|
PHP 8.2 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 8.2 on ubuntu-latest
The operation was canceled.
|
PHP 5.6 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 5.6 on ubuntu-latest
The operation was canceled.
|
PHP 8.2 (WP 6.1.1) on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 8.2 (WP 6.1.1) on ubuntu-latest
The operation was canceled.
|
PHP 7.4 (WP 6.1.1) on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.4 (WP 6.1.1) on ubuntu-latest
The operation was canceled.
|
PHP 7.3 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.3 on ubuntu-latest
The operation was canceled.
|
PHP 5.6 (WP 6.1.1) on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 5.6 (WP 6.1.1) on ubuntu-latest
The operation was canceled.
|
PHP 5.6 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 5.6 multisite on ubuntu-latest
The operation was canceled.
|
PHP 8.1 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 8.1 on ubuntu-latest
The operation was canceled.
|
PHP 7.2 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.2 on ubuntu-latest
The operation was canceled.
|
PHP 7.1 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.1 on ubuntu-latest
The operation was canceled.
|
PHP 8.0 on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 8.0 on ubuntu-latest
The operation was canceled.
|
PHP 7.3 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.3 multisite on ubuntu-latest
The operation was canceled.
|
PHP 8.2 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 8.2 multisite on ubuntu-latest
The operation was canceled.
|
PHP 7.2 multisite on ubuntu-latest
The job was canceled because "_7_0_false" failed.
|
PHP 7.2 multisite on ubuntu-latest
The operation was canceled.
|
PHP
Process completed with exit code 1.
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation failed for `core/pullquote` ({
name: 'core/pullquote',
icon: {
src: {
'$$typeof': Symbol(react.element),
type: [Function: SVG] { [length]: 1, [name]: 'SVG' },
key: null,
ref: null,
props: {
viewBox: '0 0 24 24',
xmlns: 'http://www.w3.org/2000/svg',
children: {
'$$typeof': Symbol(react.element),
type: [Function],
key: null,
ref: null,
props: [Object],
_owner: null,
_store: [Object],
[_self]: null,
[_source]: null
}
},
_owner: null,
_store: { [validated]: false },
[_self]: null,
[_source]: null
}
},
keywords: [ [length]: 0 ],
attributes: {
value: {
type: 'string',
source: 'html',
selector: 'p',
__experimentalRole: 'content'
},
citation: {
type: 'string',
source: 'html',
selector: 'cite',
default: '',
__experimentalRole: 'content'
},
textAlign: { type: 'string' },
align: {
type: 'string',
enum: [ 'left', 'center', 'right', 'wide', 'full', '', [length]: 6 ]
},
lock: { type: 'object' },
anchor: {
type: 'string',
source: 'attribute',
attribute: 'id',
selector: '*'
},
className: { type: 'string' },
borderColor: { type: 'string' },
backgroundColor: { type: 'string' },
textColor: { type: 'string' },
gradient: { type: 'string' },
fontFamily: { type: 'string' },
fontSize: { type: 'string' },
style: { type: 'object' }
},
providesContext: {},
usesContext: [ [length]: 0 ],
selectors: {},
supports: {
anchor: true,
align: [ 'left', 'right', 'wide', 'full', [length]: 4 ],
color: {
gradients: true,
background: true,
link: true,
__experimentalDefaultControls: { background: true, text: true }
},
typography: {
fontSize: true,
lineHeight: true,
__experimentalFontFamily: true,
__experimentalFontWeight: true,
__experimentalFontStyle: true,
__experimentalTextTransform: true,
__experimentalTextDecoration: true,
__experimentalLetterSpacing: true,
__experimentalDefaultControls: { fontSize: true, fontAppearance: true }
},
__experimentalBorder: {
color: true,
radius: true,
style: true,
width: true,
__experimentalDefaultControls: { color: true, radius: true, style: true, width: true }
},
__experimentalStyle: { typography: { fontSize: '1.5em', lineHeight: '1.6' } }
},
styles: [ [length]: 0 ],
variations: [ [length]: 0 ],
save: <ref *1> [Function: save] {
[length]: 1,
[name]: 'save',
[prototype]: { [constructor]: [Circular *1] }
},
schema: 'https://schemas.wp.org/trunk/block.json',
apiVersion: 2,
title: 'Pullquote',
category: 'text',
description: 'Give special visual emphasis to a quote from your text.',
textdomain: 'default',
editorStyle: 'wp-block-pullquote-editor',
style: 'wp-block-pullquote',
example: {
attributes: {
value: 'One of the hardest things to do in technology is disrupt yourself.',
citation: 'Matt Mullenweg'
}
},
transforms: {
from: [
{
type: 'block',
isMultiBlock: true,
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
[length]: 2
],
to: [
{
type: 'block',
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Expected attribute `style` of value `border-color:#045679;border-style:solid;color:#ffefef;background-color:#3486aa`, saw `background-color:#3486aa;border-color:#045679;color:#ffefef`."]
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:4)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:262:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:235:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68: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)
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L210
Error: File 'core__pullquote__custom-colors__deprecated-4.serialized.html' does not match expected value:
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<!-- wp:pullquote {"className":"has-background is-style-default","textColor":"subtle-background","style":{"border":{"color":"#2207d0"}}} -->
- <figure class="wp-block-pullquote has-background is-style-default has-border-color has-subtle-background-color has-text-color" style="border-color:#2207d0"><blockquote><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>
+ <figure class="wp-block-pullquote has-background is-style-default has-border-color has-subtle-background-color has-text-color" style="border-color:#2207d0;border-style:solid"><blockquote><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>
<!-- /wp:pullquote -->
↵
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:210:12)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:297:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:233:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68: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)
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation failed for `core/pullquote` ({
name: 'core/pullquote',
icon: {
src: {
'$$typeof': Symbol(react.element),
type: [Function: SVG] { [length]: 1, [name]: 'SVG' },
key: null,
ref: null,
props: {
viewBox: '0 0 24 24',
xmlns: 'http://www.w3.org/2000/svg',
children: {
'$$typeof': Symbol(react.element),
type: [Function],
key: null,
ref: null,
props: [Object],
_owner: null,
_store: [Object],
[_self]: null,
[_source]: null
}
},
_owner: null,
_store: { [validated]: false },
[_self]: null,
[_source]: null
}
},
keywords: [ [length]: 0 ],
attributes: {
value: {
type: 'string',
source: 'html',
selector: 'p',
__experimentalRole: 'content'
},
citation: {
type: 'string',
source: 'html',
selector: 'cite',
default: '',
__experimentalRole: 'content'
},
textAlign: { type: 'string' },
align: {
type: 'string',
enum: [ 'left', 'center', 'right', 'wide', 'full', '', [length]: 6 ]
},
lock: { type: 'object' },
anchor: {
type: 'string',
source: 'attribute',
attribute: 'id',
selector: '*'
},
className: { type: 'string' },
borderColor: { type: 'string' },
backgroundColor: { type: 'string' },
textColor: { type: 'string' },
gradient: { type: 'string' },
fontFamily: { type: 'string' },
fontSize: { type: 'string' },
style: { type: 'object' }
},
providesContext: {},
usesContext: [ [length]: 0 ],
selectors: {},
supports: {
anchor: true,
align: [ 'left', 'right', 'wide', 'full', [length]: 4 ],
color: {
gradients: true,
background: true,
link: true,
__experimentalDefaultControls: { background: true, text: true }
},
typography: {
fontSize: true,
lineHeight: true,
__experimentalFontFamily: true,
__experimentalFontWeight: true,
__experimentalFontStyle: true,
__experimentalTextTransform: true,
__experimentalTextDecoration: true,
__experimentalLetterSpacing: true,
__experimentalDefaultControls: { fontSize: true, fontAppearance: true }
},
__experimentalBorder: {
color: true,
radius: true,
style: true,
width: true,
__experimentalDefaultControls: { color: true, radius: true, style: true, width: true }
},
__experimentalStyle: { typography: { fontSize: '1.5em', lineHeight: '1.6' } }
},
styles: [ [length]: 0 ],
variations: [ [length]: 0 ],
save: <ref *1> [Function: save] {
[length]: 1,
[name]: 'save',
[prototype]: { [constructor]: [Circular *1] }
},
schema: 'https://schemas.wp.org/trunk/block.json',
apiVersion: 2,
title: 'Pullquote',
category: 'text',
description: 'Give special visual emphasis to a quote from your text.',
textdomain: 'default',
editorStyle: 'wp-block-pullquote-editor',
style: 'wp-block-pullquote',
example: {
attributes: {
value: 'One of the hardest things to do in technology is disrupt yourself.',
citation: 'Matt Mullenweg'
}
},
transforms: {
from: [
{
type: 'block',
isMultiBlock: true,
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
[length]: 2
],
to: [
{
type: 'block',
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Expected attribute `style` of value `border-color:#2207d0;border-style:solid`, saw `border-color:#2207d0`."]
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:4)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:262:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:235:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68: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)
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L210
Error: File 'core__pullquote__deprecated-3.serialized.html' does not match expected value:
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<!-- wp:pullquote {"textColor":"secondary","style":{"border":{"color":"#cd2653"}}} -->
- <figure class="wp-block-pullquote has-border-color has-secondary-color has-text-color" style="border-color:#cd2653"><blockquote><p>pullquote</p></blockquote></figure>
+ <figure class="wp-block-pullquote has-border-color has-secondary-color has-text-color" style="border-color:#cd2653;border-style:solid"><blockquote><p>pullquote</p></blockquote></figure>
<!-- /wp:pullquote -->
↵
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:210:12)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:297:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:233:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68: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)
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation failed for `core/pullquote` ({
name: 'core/pullquote',
icon: {
src: {
'$$typeof': Symbol(react.element),
type: [Function: SVG] { [length]: 1, [name]: 'SVG' },
key: null,
ref: null,
props: {
viewBox: '0 0 24 24',
xmlns: 'http://www.w3.org/2000/svg',
children: {
'$$typeof': Symbol(react.element),
type: [Function],
key: null,
ref: null,
props: [Object],
_owner: null,
_store: [Object],
[_self]: null,
[_source]: null
}
},
_owner: null,
_store: { [validated]: false },
[_self]: null,
[_source]: null
}
},
keywords: [ [length]: 0 ],
attributes: {
value: {
type: 'string',
source: 'html',
selector: 'p',
__experimentalRole: 'content'
},
citation: {
type: 'string',
source: 'html',
selector: 'cite',
default: '',
__experimentalRole: 'content'
},
textAlign: { type: 'string' },
align: {
type: 'string',
enum: [ 'left', 'center', 'right', 'wide', 'full', '', [length]: 6 ]
},
lock: { type: 'object' },
anchor: {
type: 'string',
source: 'attribute',
attribute: 'id',
selector: '*'
},
className: { type: 'string' },
borderColor: { type: 'string' },
backgroundColor: { type: 'string' },
textColor: { type: 'string' },
gradient: { type: 'string' },
fontFamily: { type: 'string' },
fontSize: { type: 'string' },
style: { type: 'object' }
},
providesContext: {},
usesContext: [ [length]: 0 ],
selectors: {},
supports: {
anchor: true,
align: [ 'left', 'right', 'wide', 'full', [length]: 4 ],
color: {
gradients: true,
background: true,
link: true,
__experimentalDefaultControls: { background: true, text: true }
},
typography: {
fontSize: true,
lineHeight: true,
__experimentalFontFamily: true,
__experimentalFontWeight: true,
__experimentalFontStyle: true,
__experimentalTextTransform: true,
__experimentalTextDecoration: true,
__experimentalLetterSpacing: true,
__experimentalDefaultControls: { fontSize: true, fontAppearance: true }
},
__experimentalBorder: {
color: true,
radius: true,
style: true,
width: true,
__experimentalDefaultControls: { color: true, radius: true, style: true, width: true }
},
__experimentalStyle: { typography: { fontSize: '1.5em', lineHeight: '1.6' } }
},
styles: [ [length]: 0 ],
variations: [ [length]: 0 ],
save: <ref *1> [Function: save] {
[length]: 1,
[name]: 'save',
[prototype]: { [constructor]: [Circular *1] }
},
schema: 'https://schemas.wp.org/trunk/block.json',
apiVersion: 2,
title: 'Pullquote',
category: 'text',
description: 'Give special visual emphasis to a quote from your text.',
textdomain: 'default',
editorStyle: 'wp-block-pullquote-editor',
style: 'wp-block-pullquote',
example: {
attributes: {
value: 'One of the hardest things to do in technology is disrupt yourself.',
citation: 'Matt Mullenweg'
}
},
transforms: {
from: [
{
type: 'block',
isMultiBlock: true,
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
[length]: 2
],
to: [
{
type: 'block',
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveWarned(expected)
Expected mock function not to be called but it was called with:
["Expected attribute `style` of value `border-color:#cd2653;border-style:solid`, saw `border-color:#cd2653`."]
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:4)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:262:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:235:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68: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)
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L210
Error: File 'core__pullquote__deprecated-main-color.serialized.html' does not match expected value:
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
<!-- wp:pullquote {"className":"is-style-default","textColor":"subtle-background","style":{"border":{"color":"#2207d0"}}} -->
- <figure class="wp-block-pullquote is-style-default has-border-color has-subtle-background-color has-text-color" style="border-color:#2207d0"><blockquote><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>
+ <figure class="wp-block-pullquote is-style-default has-border-color has-subtle-background-color has-text-color" style="border-color:#2207d0;border-style:solid"><blockquote><p>Pullquote custom color</p><cite>my citation</cite></blockquote></figure>
<!-- /wp:pullquote -->
↵
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:210:12)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:297:40)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:233:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:68: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)
|
JavaScript (14):
test/integration/full-content/full-content.test.js#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
["Block validation failed for `core/pullquote` ({
name: 'core/pullquote',
icon: {
src: {
'$$typeof': Symbol(react.element),
type: [Function: SVG] { [length]: 1, [name]: 'SVG' },
key: null,
ref: null,
props: {
viewBox: '0 0 24 24',
xmlns: 'http://www.w3.org/2000/svg',
children: {
'$$typeof': Symbol(react.element),
type: [Function],
key: null,
ref: null,
props: [Object],
_owner: null,
_store: [Object],
[_self]: null,
[_source]: null
}
},
_owner: null,
_store: { [validated]: false },
[_self]: null,
[_source]: null
}
},
keywords: [ [length]: 0 ],
attributes: {
value: {
type: 'string',
source: 'html',
selector: 'p',
__experimentalRole: 'content'
},
citation: {
type: 'string',
source: 'html',
selector: 'cite',
default: '',
__experimentalRole: 'content'
},
textAlign: { type: 'string' },
align: {
type: 'string',
enum: [ 'left', 'center', 'right', 'wide', 'full', '', [length]: 6 ]
},
lock: { type: 'object' },
anchor: {
type: 'string',
source: 'attribute',
attribute: 'id',
selector: '*'
},
className: { type: 'string' },
borderColor: { type: 'string' },
backgroundColor: { type: 'string' },
textColor: { type: 'string' },
gradient: { type: 'string' },
fontFamily: { type: 'string' },
fontSize: { type: 'string' },
style: { type: 'object' }
},
providesContext: {},
usesContext: [ [length]: 0 ],
selectors: {},
supports: {
anchor: true,
align: [ 'left', 'right', 'wide', 'full', [length]: 4 ],
color: {
gradients: true,
background: true,
link: true,
__experimentalDefaultControls: { background: true, text: true }
},
typography: {
fontSize: true,
lineHeight: true,
__experimentalFontFamily: true,
__experimentalFontWeight: true,
__experimentalFontStyle: true,
__experimentalTextTransform: true,
__experimentalTextDecoration: true,
__experimentalLetterSpacing: true,
__experimentalDefaultControls: { fontSize: true, fontAppearance: true }
},
__experimentalBorder: {
color: true,
radius: true,
style: true,
width: true,
__experimentalDefaultControls: { color: true, radius: true, style: true, width: true }
},
__experimentalStyle: { typography: { fontSize: '1.5em', lineHeight: '1.6' } }
},
styles: [ [length]: 0 ],
variations: [ [length]: 0 ],
save: <ref *1> [Function: save] {
[length]: 1,
[name]: 'save',
[prototype]: { [constructor]: [Circular *1] }
},
schema: 'https://schemas.wp.org/trunk/block.json',
apiVersion: 2,
title: 'Pullquote',
category: 'text',
description: 'Give special visual emphasis to a quote from your text.',
textdomain: 'default',
editorStyle: 'wp-block-pullquote-editor',
style: 'wp-block-pullquote',
example: {
attributes: {
value: 'One of the hardest things to do in technology is disrupt yourself.',
citation: 'Matt Mullenweg'
}
},
transforms: {
from: [
{
type: 'block',
isMultiBlock: true,
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
[length]: 2
],
to: [
{
type: 'block',
blocks: [ 'core/paragraph', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]: 'transform' }
},
{
type: 'block',
blocks: [ 'core/heading', [length]: 1 ],
transform: [Function: transform] { [length]: 1, [name]
|
PHP coding standards:
lib/block-supports/border.php#L109
Equals sign not aligned with surrounding assignments; expected 13 spaces but found 23 spaces
|
PHP coding standards:
lib/block-supports/border.php#L110
Equals sign not aligned with surrounding assignments; expected 1 space but found 11 spaces
|
JavaScript (14)
Both node-version and node-version-file inputs are specified, only node-version will be used
|