Replace ImageSizeControl component with DimensionsTool component #87923
unit-test.yml
on: pull_request
Compute previous WordPress version
3s
PHP coding standards
27s
Mobile
7m 21s
Matrix: JavaScript
Matrix: test-php
PHP
0s
Annotations
8 errors and 2 warnings
PHP coding standards
Process completed with exit code 2.
|
PHP coding standards:
packages/block-library/src/latest-posts/index.php#L78
Short array syntax is not allowed
|
PHP coding standards:
packages/block-library/src/latest-posts/index.php#L79
Short array syntax is not allowed
|
PHP coding standards:
packages/block-library/src/latest-posts/index.php#L107
Expected 1 spaces before closing parenthesis; 0 found
|
PHP coding standards
Process completed with exit code 1.
|
PHP
Process completed with exit code 1.
|
JavaScript (16):
test/integration/full-content/full-content.test.js#L166
Error: File 'core__latest-posts__displayPostDate.json' does not match expected value:
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
@@ -7,13 +7,11 @@
"displayFeaturedImage": false,
"displayPostContent": false,
"displayPostContentRadio": "excerpt",
"displayPostDate": true,
"excerptLength": 55,
- "featuredImageSizeHeight": null,
"featuredImageSizeSlug": "thumbnail",
- "featuredImageSizeWidth": null,
"order": "desc",
"orderBy": "date",
"postLayout": "list",
"postsToShow": 5,
},
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/test/integration/full-content/full-content.test.js:166:11)
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 runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:251:3)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
JavaScript (16)
Process completed with exit code 1.
|
PHP coding standards:
packages/block-library/src/latest-posts/index.php#L79
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
JavaScript (16)
Both node-version and node-version-file inputs are specified, only node-version will be used
|