进行了一些小修复
This commit is contained in:
@@ -498,6 +498,7 @@ test('single post more menu has one accessible runtime and an in-flow author anc
|
||||
const article = read('assets/js/core/article.js');
|
||||
const components = read('inc/helpers/aksrt-single-components.php');
|
||||
const single = read('inc/helpers/aksrt-single.php');
|
||||
const singleRender = read('inc/helpers/aksrt-single-render.php');
|
||||
const authorBar = read('templates/parts/single-author-bar.php');
|
||||
const styles = read('assets/css/frontend/single-post/author-actions.css');
|
||||
|
||||
@@ -516,6 +517,8 @@ test('single post more menu has one accessible runtime and an in-flow author anc
|
||||
assert.doesNotMatch(components, /\$direction/);
|
||||
assert.match(authorBar, /class="single-meta-row"/);
|
||||
assert.doesNotMatch(authorBar, /single-metabox abs-right/);
|
||||
assert.match(singleRender, /'meta_html'\s*=>\s*\(string\) \(\$ctx\['meta_box_html'\] \?\? ''\)/);
|
||||
assert.doesNotMatch(singleRender, /cover-meta|str_replace\('single-metabox'/);
|
||||
assert.match(styles, /\.single-meta-row > \.single-metabox\s*\{[^}]*position:\s*relative;[^}]*transform:\s*none;/s);
|
||||
assert.match(styles, /\.post-drop-meta__menu\s*\{[^}]*position:\s*absolute;[^}]*right:\s*0;/s);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user