Feature: Add support for default argument value of macros #148
Annotations
4 errors
tests/Statements/jsfmt.spec.js > Statements > should handle macro statements:
tests/Statements/jsfmt.spec.js#L33
Error: Snapshot `Statements > should handle macro statements 1` mismatched
- Expected
+ Received
@@ -35,5 +35,15 @@
{% macro partner(groupId, value) %}
{# 80 is the groupid of specific hotel websites that may not have a correct partner name #}
{{ groupId == 80 ? 'book_hotel_website_test'|translate : value }}
{% endmacro %}
+
+ {% macro hosted(
+ fontFamily,
+ filenameWithoutExt,
+ fontWeight,
+ fontStyle,
+ preload)
+ %}
+
+ {% endmacro %}
❯ tests/Statements/jsfmt.spec.js:33:9
|
Test (18)
Process completed with exit code 1.
|
tests/Statements/jsfmt.spec.js > Statements > should handle macro statements:
tests/Statements/jsfmt.spec.js#L33
Error: Snapshot `Statements > should handle macro statements 1` mismatched
- Expected
+ Received
@@ -35,5 +35,15 @@
{% macro partner(groupId, value) %}
{# 80 is the groupid of specific hotel websites that may not have a correct partner name #}
{{ groupId == 80 ? 'book_hotel_website_test'|translate : value }}
{% endmacro %}
+
+ {% macro hosted(
+ fontFamily,
+ filenameWithoutExt,
+ fontWeight,
+ fontStyle,
+ preload)
+ %}
+
+ {% endmacro %}
❯ tests/Statements/jsfmt.spec.js:33:9
|
Test (20)
Process completed with exit code 1.
|