Skip to content

Commit c416cbf

Browse files
committed
MC-19248: Add static test to prevent regressing mage-init directive fixes made in the phtml files
- Fix BIC changes;
1 parent ed5eb9f commit c416cbf

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/static/testsuite/Magento/Test/Legacy/_files/initialize_javascript/data_mage_init

1 file changed

+2
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Legacy/_files/initialize_javascript/data_mage_init/whitelist.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
/**
77
* List of templates with data-mage-init attribute where JS component is not correctly called.
88
*
9-
* JS component is initialized in php here. These templates cannot be refactored easily.
9+
* JS component is initialized in php here. These templates cannot be refactored easily. This list consists of
10+
* module name and template path within module.
1011
*/
1112
return [
1213
['Magento_Braintree', 'view/frontend/templates/paypal/button_shopping_cart.phtml']

0 commit comments

Comments
 (0)