change devDependency html linter to resolve audit issue, fix lint issues
[websub-hub] / test / src / template / root-html.js
index 3f98be2b7c25d2e6f501bb8ca1dfcc82a8625ceb..6e1458fffab9206cf0efcbb5d70d06f9642dae8b 100644 (file)
@@ -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 = '<div>support</div>';
     config.manager.publicHub = false;
     const result = template(ctx, config);
-    lintHtml(result);
+    await lintHtml(result);
     assert(result);
   });