Skip to content

Feature: Add support for default argument value of macros #148

Feature: Add support for default argument value of macros

Feature: Add support for default argument value of macros #148

Triggered via pull request October 27, 2024 01:47
Status Failure
Total duration 32s
Artifacts

ci.yaml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

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.