X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Flib%2Ftemplate-helper.js;h=ab5533faca6695fa1328b94089b0b11f3a878501;hb=f37d9d799c5d5c1b044907b9f4950920676401ed;hp=a21b141eaeec7e37c3429fa9b1ea2d268fd4bbcc;hpb=5690ad318ed98cff45bf1fd192656a7156c7045c;p=squeep-html-template-helper 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);