进行了一些小修复
This commit is contained in:
1 parent
dc14c29878
commit
065a5bc99c
16 files changed
+3655
-2508
No files matched your search
@@ -191,7 +191,8 @@ test('notyf CSS and WordPress enqueue match the reference contract', () => {
|
||||
|
||||
assert.match(builder, /assets\/js\/notyf\.js/);
|
||||
assert.match(builder, /assets\/css\/frontend\/notyf\.css/);
|
||||
assert.match(scripts, /'aksrt-runtime',[\s\S]*?'\/assets\/js\/build\/public\.js',[\s\S]*?\['loader_js'\]/);
|
||||
assert.match(builder, /assets\/js\/runtime\/loader\.js/);
|
||||
assert.match(scripts, /'aksrt-runtime',[\s\S]*?'\/assets\/js\/build\/public\.js',[\s\S]*?\['jquery'\]/);
|
||||
});
|
||||
|
||||
test('balance center actions use direct fixed-id notyf flows', () => {
|
||||
@@ -306,7 +307,7 @@ test('payment entry points never load the removed legacy pay runtime', () => {
|
||||
assert.match(content, /data-aksrt-pay-content/);
|
||||
assert.match(scripts, /'aksrt-pay-vip'/);
|
||||
assert.match(scripts, /'aksrt-cms-download'/);
|
||||
assert.match(scripts, /\$runtime_loader_version = file_exists\(\$runtime_loader_path\)/);
|
||||
assert.match(scripts, /\$public_runtime_path = get_template_directory\(\) \. '\/assets\/js\/build\/public\.js'/);
|
||||
assert.match(scripts, /\$runtime_version = file_exists\(\$runtime_main_path\)/);
|
||||
assert.match(scripts, /'ver'\s*=> \$runtime_version/);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user