Build/Test Tools: Use semantic HTML comparison in script tests.
The `assertEqualHTML()` method makes tests resilient to irrelevant syntactic changes in HTML output, focusing on semantic equivalence rather than exact string matching. Developed in https://github.com/WordPress/wordpress-develop/pull/10727. Follow up to [61394], [61391]. Props jonsurrell, cbravobernal. See #64225. Built from https://develop.svn.wordpress.org/trunk@61478 git-svn-id: http://core.svn.wordpress.org/trunk@60790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
28
wp-includes/css/dist/index.php
vendored
28
wp-includes/css/dist/index.php
vendored
@@ -22,16 +22,16 @@ return array(
|
||||
'path' => 'list-reusable-blocks/style',
|
||||
'dependencies' => array('wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-commands',
|
||||
'path' => 'commands/style',
|
||||
'dependencies' => array('wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-reusable-blocks',
|
||||
'path' => 'reusable-blocks/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-commands',
|
||||
'path' => 'commands/style',
|
||||
'dependencies' => array('wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-widgets',
|
||||
'path' => 'widgets/style',
|
||||
@@ -43,13 +43,13 @@ return array(
|
||||
'dependencies' => array(),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-patterns',
|
||||
'path' => 'patterns/style',
|
||||
'handle' => 'wp-format-library',
|
||||
'path' => 'format-library/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-format-library',
|
||||
'path' => 'format-library/style',
|
||||
'handle' => 'wp-patterns',
|
||||
'path' => 'patterns/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components'),
|
||||
),
|
||||
array(
|
||||
@@ -67,6 +67,11 @@ return array(
|
||||
'path' => 'customize-widgets/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-components', 'wp-media-utils', 'wp-preferences', 'wp-widgets'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-block-library',
|
||||
'path' => 'block-library/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components', 'wp-patterns'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-edit-widgets',
|
||||
'path' => 'edit-widgets/style',
|
||||
@@ -77,11 +82,6 @@ return array(
|
||||
'path' => 'edit-post/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-block-library', 'wp-commands', 'wp-components', 'wp-editor', 'wp-preferences', 'wp-widgets'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-block-library',
|
||||
'path' => 'block-library/style',
|
||||
'dependencies' => array('wp-block-editor', 'wp-components', 'wp-patterns'),
|
||||
),
|
||||
array(
|
||||
'handle' => 'wp-editor',
|
||||
'path' => 'editor/style',
|
||||
|
||||
32
wp-includes/js/dist/script-modules/index.php
vendored
32
wp-includes/js/dist/script-modules/index.php
vendored
@@ -7,6 +7,11 @@
|
||||
*/
|
||||
|
||||
return array(
|
||||
array(
|
||||
'id' => '@wordpress/interactivity',
|
||||
'path' => 'interactivity/index',
|
||||
'asset' => 'interactivity/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/interactivity-router',
|
||||
'path' => 'interactivity-router/index',
|
||||
@@ -18,19 +23,9 @@ return array(
|
||||
'asset' => 'interactivity-router/full-page.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/a11y',
|
||||
'path' => 'a11y/index',
|
||||
'asset' => 'a11y/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/interactivity',
|
||||
'path' => 'interactivity/index',
|
||||
'asset' => 'interactivity/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/abilities',
|
||||
'path' => 'abilities/index',
|
||||
'asset' => 'abilities/index.min.asset.php',
|
||||
'id' => '@wordpress/core-abilities',
|
||||
'path' => 'core-abilities/index',
|
||||
'asset' => 'core-abilities/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/latex-to-mathml',
|
||||
@@ -43,9 +38,14 @@ return array(
|
||||
'asset' => 'latex-to-mathml/loader.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/core-abilities',
|
||||
'path' => 'core-abilities/index',
|
||||
'asset' => 'core-abilities/index.min.asset.php',
|
||||
'id' => '@wordpress/a11y',
|
||||
'path' => 'a11y/index',
|
||||
'asset' => 'a11y/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/abilities',
|
||||
'path' => 'abilities/index',
|
||||
'asset' => 'abilities/index.min.asset.php',
|
||||
),
|
||||
array(
|
||||
'id' => '@wordpress/route',
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-alpha-61477';
|
||||
$wp_version = '7.0-alpha-61478';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user