X-Git-Url: http://git.squeep.com/?p=squeep-authentication-module;a=blobdiff_plain;f=test%2Flib%2Ftemplate%2Fia-html.js;h=87bdf0a7070ff9be3f7d81a0224ecf4cf449d5f8;hp=0b2d649a87262a1c5dd402b976d6907c8a4faefb;hb=53ef948ea83106e82d55e60d6695a15e94bf725e;hpb=842a3da269de1ab82e9a2a12aae8ed5677f064d8 diff --git a/test/lib/template/ia-html.js b/test/lib/template/ia-html.js index 0b2d649..87bdf0a 100644 --- a/test/lib/template/ia-html.js +++ b/test/lib/template/ia-html.js @@ -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); });