diff --git a/transforms/angle-brackets/test.js b/transforms/angle-brackets/test.js
index fece3aadb..0e6a069f1 100644
--- a/transforms/angle-brackets/test.js
+++ b/transforms/angle-brackets/test.js
@@ -294,6 +294,38 @@ test('if', () => {
`);
});
+test('nested-else-if', () => {
+ let input = `
+ {{#if a}}
+ {{my-component1 foo="bar"}}
+ {{else if b}}
+ {{my-component2 foo="bar"}}
+ {{else if c}}
+ {{my-component3 foo="bar"}}
+ {{else if d}}
+ {{my-component4 foo="bar"}}
+ {{else}}
+ {{my-component5 foo="bar"}}
+ {{/if}}
+ `;
+
+ expect(runTest('if.hbs', input)).toMatchInlineSnapshot(`
+ "
+ {{#if a}}
+
+ {{else if b}}
+
+ {{else if c}}
+
+ {{else if d}}
+
+ {{else}}
+
+ {{/if}}
+ "
+ `);
+});
+
test('input-helper', () => {
let input = `
{{input type="checkbox" name="email-opt-in" checked=this.model.emailPreference}}