add indention helper
[squeep-html-template-helper] / test / lib / template-helper.js
index a21b141eaeec7e37c3429fa9b1ea2d268fd4bbcc..ab5533faca6695fa1328b94089b0b11f3a878501 100644 (file)
@@ -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);