X-Git-Url: http://git.squeep.com/?p=websub-hub;a=blobdiff_plain;f=test%2Fsrc%2Ftemplate%2Fadmin-ia-html.js;fp=test%2Fsrc%2Ftemplate%2Fadmin-ia-html.js;h=0000000000000000000000000000000000000000;hp=d909389b45c8c9989558995f5ddcc22867ba8b00;hb=3c547e314b79a31fb3f15412a47707a22dc3eefd;hpb=4807a77eca2858e8dc23d9ec2247a778814988d7 diff --git a/test/src/template/admin-ia-html.js b/test/src/template/admin-ia-html.js deleted file mode 100644 index d909389..0000000 --- a/test/src/template/admin-ia-html.js +++ /dev/null @@ -1,25 +0,0 @@ -/* eslint-env mocha */ -'use strict'; - -const assert = require('assert'); -const template = require('../../../src/template/admin-ia-html'); -const Config = require('../../../config'); -const config = new Config('test'); - -describe('Admin Login HTML Template', function () { - let ctx; - - beforeEach(function () { - ctx = {}; - }); - - it('covers', function () { - ctx.errors = ['bad']; - const result = template(ctx, config); - assert(result); - }); - it('covers empty', function () { - const result = template(ctx, config); - assert(result); - }); -});