We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e6a418 + bf76f0a commit 72366caCopy full SHA for 72366ca
1 file changed
transforms/angle-brackets/test.js
@@ -684,6 +684,34 @@ test('unless', () => {
684
`);
685
});
686
687
+test('whitespace-control', () => {
688
+ let input = `
689
+ <div>
690
+ {{~both~}}
691
+ </div>
692
693
+ {{~left}}
694
695
696
+ {{right~}}
697
698
+ `;
699
+
700
+ expect(runTest('whitespace-control.hbs', input)).toMatchInlineSnapshot(`
701
+ "
702
703
704
705
706
707
708
709
710
711
712
+ `);
713
+});
714
715
test('skip-default-helpers', () => {
716
let input = `
717
<div id="main-container">
0 commit comments