it('works like the default if helper (advanced)', function () {
    const tpl = hbs.compile('{{#if a}}yes{{else}}no{{/if}}');

    expect(tpl({a: true})).to.equal('yes');
    expect(tpl({a: false})).to.equal('no');