change devDependency html linter to resolve audit issue, fix lint issues
[websub-hub] / test / src / template / admin-topic-details-html.js
index 62a5ede783d5c90b05bee2b00de8f70c44e68996..ce19af7d1b2b064997052c4c375d393fc965ed84 100644 (file)
@@ -22,28 +22,28 @@ describe('Admin Topic Details 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 null topic', function () {
+  it('covers null topic', async function () {
     ctx.topic = null;
     ctx.subscriptions = null;
     const result = template(ctx, config);
-    lintHtml(result);
+    await lintHtml(result);
     assert(result);
   });
-  it('covers missing subscriptions', function () {
+  it('covers missing subscriptions', async function () {
     delete ctx.subscriptions;
     const result = template(ctx, config);
-    lintHtml(result);
+    await lintHtml(result);
     assert(result);
   });
-  it('covers plural subscriptions', function () {
+  it('covers plural subscriptions', async function () {
     ctx.subscriptions = [{}, {}, {}];
     const result = template(ctx, config);
-    lintHtml(result);
+    await lintHtml(result);
     assert(result);
   });
 });