X-Git-Url: http://git.squeep.com/?p=squeep-html-template-helper;a=blobdiff_plain;f=test%2Flib%2Ftemplate-helper.js;h=ab5533faca6695fa1328b94089b0b11f3a878501;hp=a21b141eaeec7e37c3429fa9b1ea2d268fd4bbcc;hb=6f6bea9c4444979f564f7e2242dbd3504895a22e;hpb=e2c0fe7d1ab89eb892cad2f9003391c2e41010e7 diff --git a/test/lib/template-helper.js b/test/lib/template-helper.js index a21b141..ab5533f 100644 --- a/test/lib/template-helper.js +++ b/test/lib/template-helper.js @@ -171,6 +171,13 @@ describe('Template Helper', function () { }); }); // LI + describe('indented', function () { + it('covers', function () { + const result = th.indented(2, ['foo', 'bar']); + result.forEach((r) => assert(r.startsWith('\t\t'))); + }); + }); // indented + describe('htmlBody', function () { it('covers no main', function () { const result = th.htmlBody(pagePathLevel, ctx, options);