We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72366ca commit e0eab3fCopy full SHA for e0eab3f
1 file changed
transforms/angle-brackets/test.js
@@ -604,6 +604,26 @@ test('sample2', () => {
604
`);
605
});
606
607
+test('splattributes', () => {
608
+ let input = `
609
+ {{#wrapper}}
610
+ <div ...attributes>
611
+ {{foo bar="baz"}}
612
+ </div>
613
+ {{/wrapper}}
614
+ `;
615
+
616
+ expect(runTest('splattributes.hbs', input)).toMatchInlineSnapshot(`
617
+ "
618
+ <Wrapper>
619
620
+ <Foo @bar=\\"baz\\" />
621
622
+ </Wrapper>
623
624
+ `);
625
+});
626
627
test('t-helper', () => {
628
let input = `
629
{{t "some.string" param="string" another=1}}
0 commit comments