X-Git-Url: http://git.squeep.com/?p=websub-hub;a=blobdiff_plain;f=test%2Fsrc%2Ftemplate%2Fadmin-login-html.js;fp=test%2Fsrc%2Ftemplate%2Fadmin-login-html.js;h=0000000000000000000000000000000000000000;hp=661efd95a5b096b6d4119e135598c2925b84dae3;hb=3c547e314b79a31fb3f15412a47707a22dc3eefd;hpb=4807a77eca2858e8dc23d9ec2247a778814988d7 diff --git a/test/src/template/admin-login-html.js b/test/src/template/admin-login-html.js deleted file mode 100644 index 661efd9..0000000 --- a/test/src/template/admin-login-html.js +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-env mocha */ -'use strict'; - -const assert = require('assert'); -const template = require('../../../src/template/admin-login-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']; - ctx.clientProtocol = 'https'; - const result = template(ctx, config); - assert(result); - }); - it('covers empty', function () { - const result = template(ctx, config); - assert(result); - }); -});