X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fsrc%2Ftemplate%2Froot-html.js;h=6e1458fffab9206cf0efcbb5d70d06f9642dae8b;hb=b806715f9288323cce7b0ab437ee78b01d26c548;hp=3f98be2b7c25d2e6f501bb8ca1dfcc82a8625ceb;hpb=3ca7fccb306d0b23626befc3791ffa360b3db1e7;p=websub-hub diff --git a/test/src/template/root-html.js b/test/src/template/root-html.js index 3f98be2..6e1458f 100644 --- a/test/src/template/root-html.js +++ b/test/src/template/root-html.js @@ -14,24 +14,24 @@ describe('Root HTML Template', function () { config = new Config('test'); }); - it('renders', function () { + it('renders', async function () { const result = template(ctx, config); - lintHtml(result); + await lintHtml(result); assert(result); }); - it('covers options', function () { + it('covers options', async function () { delete config.dingus.selfBaseUrl; const result = template(ctx, config); - lintHtml(result); + await lintHtml(result); assert(result); }); - it('covers options', function () { + it('covers options', async function () { config.adminContactHTML = '
support
'; config.manager.publicHub = false; const result = template(ctx, config); - lintHtml(result); + await lintHtml(result); assert(result); });