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