describe(`parameterTable helper`, () => { test(`should compile`, () => { const data = project.findReflectionByName('functionWithDefaults'); const result = Handlebars.helpers.parameterTable.call(data.signatures[0].parameters); expect(result).toMatchSnapshot(); }); });