进行了一些小修复
This commit is contained in:
1 parent
dc14c29878
commit
065a5bc99c
16 files changed
+3655
-2508
No files matched your search
@@ -280,6 +280,12 @@ test('AJAX pagination can recover, caps auto loading and rehydrates appended med
|
||||
assert.match(read('tools/build-public-assets.mjs'), /assets\/js\/grade\.min\.js/);
|
||||
});
|
||||
|
||||
test('front-end carousel CSS is conditional on carousel block content', () => {
|
||||
const hooks = read('inc/core-hooks/part-3.php');
|
||||
assert.match(hooks, /has_block\('aksrt\/carousel', \$post\)/);
|
||||
assert.match(hooks, /if \(!\$has_carousel\) return;[\s\S]*?'aksrt-gutenberg-blocks-front'/);
|
||||
});
|
||||
|
||||
test('the pinned visual baseline records all source checksums', () => {
|
||||
const baseline = JSON.parse(read('tests/visual/zibll-9.0-article-baseline.json'));
|
||||
assert.equal(baseline.theme, 'Zibll');
|
||||
|
||||
Reference in new issue
Block a user