});
}); // renderNavLink
+ describe('elementAttributes', function () {
+ it('covers', function () {
+ const attributes = {
+ class: 'foo bar',
+ disabled: '',
+ };
+ const result = th.elementAttributes(attributes);
+ assert.strictEqual(result, ' class="foo bar" disabled');
+ });
+ }); // elementAttributes
+
describe('OL', function () {
it('covers', function () {
const result = th.OL(['item', 'another item'], 1, { class: 'class' }, (item) => ({ class: `${item}-class` }));
];
});
it('covers', async function () {
+ this.slow(1000); // First invocation of htmlLint takes some time.
const result = th.htmlPage(pagePathLevel, ctx, options, main);
await htmlLint(result);
assert(result);