add account settings page, rest of otp support, stdio credential helper, other misc
[squeep-authentication-module] / test / lib / template / ia-html.js
index 0b2d649a87262a1c5dd402b976d6907c8a4faefb..87bdf0a7070ff9be3f7d81a0224ecf4cf449d5f8 100644 (file)
@@ -19,16 +19,16 @@ describe('Template IAHTML', function () {
     };
   });
 
-  it('renders', function () {
+  it('renders', async function () {
     ctx.errors = ['an error', 'another error'];
     const result = IAHTML(ctx, options);
-    lintHtml(result);
+    await lintHtml(result);
     assert(result);
   });
 
-  it('covers empty error', function () {
+  it('covers empty error', async function () {
     const result = IAHTML(ctx, options);
-    lintHtml(result);
+    await lintHtml(result);
     assert(result);
   });