projects
/
squeep-html-template-helper
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add indention helper
[squeep-html-template-helper]
/
test
/
lib
/
template-helper.js
diff --git
a/test/lib/template-helper.js
b/test/lib/template-helper.js
index a21b141eaeec7e37c3429fa9b1ea2d268fd4bbcc..ab5533faca6695fa1328b94089b0b11f3a878501 100644
(file)
--- a/
test/lib/template-helper.js
+++ b/
test/lib/template-helper.js
@@
-171,6
+171,13
@@
describe('Template Helper', function () {
});
}); // LI
});
}); // 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);
describe('htmlBody', function () {
it('covers no main', function () {
const result = th.htmlBody(pagePathLevel, ctx, options);